creationix 2010-04-15 10:03:42 -07:00
parent bb49547611
commit 112f73962e
1 changed files with 9 additions and 2 deletions

View File

@ -4,10 +4,13 @@
To install create a folder somewhere in your filesystem with the nvm.sh file inside it. I put mine in a folder called `.nvn`.
Then add two lines to your bash profile:
Then add three lines to your bash profile:
NVM_DIR=$HOME/.nvm
. $NVM_DIR/nvm.sh
nvm use v0.1.91
The first line tells your system where NVM is installed, you should already have nvm.sh there. The second line loads the nvm function into your bash shell so that it's available as a command. The third line sets your default node version.
## Usage
@ -29,4 +32,8 @@ Then in any new shell you can get this version with:
When you want to grab the latest from the node repo do:
nvm update
nvm update
If you want to see what versions you have installed issue:
nvm list