Skip to content

Commit c3dd31c

Browse files
authored
Update nvm version and make copy & paste easier (#1579)
1 parent c0f535f commit c3dd31c

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

CONTRIBUTING.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,26 @@ To give clarity of what is expected of our members, Swift has adopted the code o
1111
## Development
1212

1313
To begin development on the VS Code extension for Swift you will need to install [Node.js](https://nodejs.org). We use [nvm](https://github.com/nvm-sh/nvm) the Node version manager to install Node.js. To install or update nvm you should run their install script
14-
```
15-
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
14+
```sh
15+
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
1616
```
1717
More details on nvm installation can be found in the [README](https://github.com/nvm-sh/nvm/?tab=readme-ov-file) from its GitHub repository.
1818

1919
Once you have installed nvm, you can clone and configure the repository.
2020

2121
```sh
2222
git clone https://github.com/swiftlang/vscode-swift.git && cd vscode-swift
23+
```
24+
25+
Install the correct version of Node.JS for developing the extension
2326

24-
# Install the correct version of Node.JS for developing the extension
27+
```sh
2528
nvm install
29+
```
2630

27-
# Installs all the dependencies the extension requires
31+
Installs all the dependencies the extension requires
32+
33+
```sh
2834
npm install
2935
```
3036

0 commit comments

Comments
 (0)