Skip to content

Commit

Permalink
fix: clarify how to use nvm (#1125)
Browse files Browse the repository at this point in the history
Signed-off-by: Jeffrey Tang <[email protected]>
Signed-off-by: JeffreyDallas <[email protected]>
Co-authored-by: Jeromy Cannon <[email protected]>
  • Loading branch information
JeffreyDallas and jeromy-cannon authored Jan 8, 2025
1 parent 808516c commit bdc1873
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,22 @@ To run a three-node network, you will need to set up Docker Desktop with at leas

## Setup

* Install [Node](https://nodejs.org/en/download). You may also use [nvm](https://github.com/nvm-sh/nvm) to manage different Node versions locally:
* Install [Node](https://nodejs.org/en/download). You may also use [nvm](https://github.com/nvm-sh/nvm) to manage different Node versions locally, some examples:

```
nvm install lts/hydrogen
nvm use lts/hydrogen
# install specific nodejs version
# nvm install <version>
# install nodejs version 20.18.0
nvm install v20.18.0
# lists available node versions already installed
nvm ls
# swith to selected node version
# nvm use <version>
nvm use v20.18.0
```

* Useful tools:
Expand Down

0 comments on commit bdc1873

Please sign in to comment.