|
|
@ -19,13 +19,13 @@ Often I also put in a line to use a specific version of node. |
|
|
|
|
|
|
|
|
|
|
|
## Usage |
|
|
|
## Usage |
|
|
|
|
|
|
|
|
|
|
|
To download, compile, and install the v0.2.5 release of node, do this: |
|
|
|
To download, compile, and install the v0.4.1 release of node, do this: |
|
|
|
|
|
|
|
|
|
|
|
nvm install v0.2.5 |
|
|
|
nvm install v0.4.1 |
|
|
|
|
|
|
|
|
|
|
|
And then in any new shell just use the installed version: |
|
|
|
And then in any new shell just use the installed version: |
|
|
|
|
|
|
|
|
|
|
|
nvm use v0.2.5 |
|
|
|
nvm use v0.4.1 |
|
|
|
|
|
|
|
|
|
|
|
If you want to see what versions are available: |
|
|
|
If you want to see what versions are available: |
|
|
|
|
|
|
|
|
|
|
@ -37,5 +37,5 @@ To restore your PATH, you can deactivate it. |
|
|
|
|
|
|
|
|
|
|
|
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': |
|
|
|
|
|
|
|
|
|
|
|
nvm alias default v0.2.5 |
|
|
|
nvm alias default v0.4.1 |
|
|
|
|
|
|
|
|
|
|
|