mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-12-13 16:44:17 +00:00
Update readme default version instructions
I was trying to set this and found it confusing, thought I needed to write `node`: ``` $ nvm alias default node 4.0 default -> node (-> v6.2.2) $ nvm alias default 4.0 default -> 4.0 (-> v4.0.0) ```
This commit is contained in:
@@ -152,9 +152,9 @@ To restore your PATH, you can deactivate it:
|
|||||||
|
|
||||||
nvm deactivate
|
nvm deactivate
|
||||||
|
|
||||||
To set a default Node version to be used in any new shell, use the alias 'default':
|
To set a default Node version to be used in any new shell, use the alias 'default' and the version number you want to use, e.g. 5.0:
|
||||||
|
|
||||||
nvm alias default node
|
nvm alias default 5.0
|
||||||
|
|
||||||
To use a mirror of the node binaries, set `$NVM_NODEJS_ORG_MIRROR`:
|
To use a mirror of the node binaries, set `$NVM_NODEJS_ORG_MIRROR`:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user