creationix 15 years ago
parent
commit
112f73962e
  1. 11
      README.markdown

11
README.markdown

@ -4,10 +4,13 @@ @@ -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: @@ -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
Loading…
Cancel
Save