[readme] add examples of setting specific versions as default

Co-authored-by: heungjun.park <rockheung@gmail.com>
Co-authored-by: Jordan Harband <ljharb@gmail.com>
heungjun.park 2023-07-20 17:39:37 +09:00 committed by Jordan Harband
parent 324b81a722
commit a1601eddb8
No known key found for this signature in database
GPG Key ID: 9F6A681E35EF8B56
1 changed files with 3 additions and 1 deletions

View File

@ -499,7 +499,9 @@ nvm deactivate
To set a default Node version to be used in any new shell, use the alias 'default':
```sh
nvm alias default node
nvm alias default node # this refers to the latest installed version of node
nvm alias default 18 # this refers to the latest installed v18.x version of node
nvm alias default 18.12 # this refers to the latest installed v18.12.x version of node
```
#### Use a mirror of node binaries