master
parent
bb49547611
commit
112f73962e
|
@ -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
|
||||
|
||||
|
@ -30,3 +33,7 @@ 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
|
||||
|
||||
If you want to see what versions you have installed issue:
|
||||
|
||||
nvm list
|
Loading…
Reference in New Issue