Skip to content

Commit

Permalink
[readme] add examples of setting specific versions as default
Browse files Browse the repository at this point in the history
Co-authored-by: heungjun.park <rockheung@gmail.com>
Co-authored-by: Jordan Harband <ljharb@gmail.com>
  • Loading branch information
Rockheung and ljharb committed Jul 20, 2023
1 parent 324b81a commit a1601ed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a1601ed

Please sign in to comment.