|
|
@ -34,17 +34,17 @@ Often I also put in a line to use a specific version of node. |
|
|
|
|
|
|
|
|
|
|
|
## Usage |
|
|
|
## Usage |
|
|
|
|
|
|
|
|
|
|
|
To download, compile, and install the latest v0.8.x release of node, do this: |
|
|
|
To download, compile, and install the latest v0.10.x release of node, do this: |
|
|
|
|
|
|
|
|
|
|
|
nvm install 0.8 |
|
|
|
nvm install 0.10 |
|
|
|
|
|
|
|
|
|
|
|
And then in any new shell just use the installed version: |
|
|
|
And then in any new shell just use the installed version: |
|
|
|
|
|
|
|
|
|
|
|
nvm use 0.8 |
|
|
|
nvm use 0.10 |
|
|
|
|
|
|
|
|
|
|
|
Or you can just run it: |
|
|
|
Or you can just run it: |
|
|
|
|
|
|
|
|
|
|
|
nvm run 0.8 |
|
|
|
nvm run 0.10 |
|
|
|
|
|
|
|
|
|
|
|
If you want to see what versions are installed: |
|
|
|
If you want to see what versions are installed: |
|
|
|
|
|
|
|
|
|
|
@ -60,7 +60,7 @@ 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 0.8 |
|
|
|
nvm alias default 0.10 |
|
|
|
|
|
|
|
|
|
|
|
## License |
|
|
|
## License |
|
|
|
|
|
|
|
|
|
|
|