Skip to content

Commit 0010085

Browse files
authored
CONTRIBUTING: document how to upgrade node using nvm (#2122)
1 parent 67b9241 commit 0010085

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

CONTRIBUTING.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,15 @@ files.
2929

3030
### Local setup
3131

32-
1. Install the [**active LTS** release][nodejs-rel] of **Node.js**. We
33-
recommend using **[nvm][]** to manage your Node installation (Linux command
34-
shown):
32+
1. [Fork][] and then [clone][] this repo.
33+
2. **Change** to the repo directory.
34+
3. **Install or upgrade** to the [**active LTS** release][nodejs-rel] of
35+
**Node.js**. We recommend using **[nvm][]** to manage your Node
36+
installation. Under Linux, run the following command (which will
37+
install/upgrade to the version specified in [.nvmrc][]):
3538

3639
```console
37-
$ nvm install --lts
40+
$ nvm install
3841
```
3942

4043
To [install under Windows][nodejs-win], use [nvm-windows][]:
@@ -43,8 +46,6 @@ files.
4346
> nvm install lts && nvm use lts
4447
```
4548

46-
2. [Fork][] and then [clone][] this repo.
47-
3. Change to the repo directory.
4849
4. Get npm packages and other prerequisites:
4950
```console
5051
$ npm install
@@ -128,6 +129,7 @@ the production server.
128129
To see deploy logs and more, visit project's [dashboard][] -- Netlify login
129130
required.
130131

132+
[.nvmrc]: .nvmrc
131133
[clone]:
132134
https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository
133135
[dashboard]: https://app.netlify.com/sites/opentelemetry/overview

0 commit comments

Comments
 (0)