Remove clone and update, these are better done by hand, add listlibs and a way to use the latest stable version

This commit is contained in:
Tim Caswell
2010-05-06 12:51:43 -05:00
parent 2527ff6b1f
commit 7df245c569
2 changed files with 17 additions and 41 deletions

View File

@@ -8,25 +8,24 @@ To install create a folder somewhere in your filesystem with the "`nvm.sh`" file
Or if you have `git` installed, then just clone it:
git clone git://gist.github.com/367305.git ~/.nvm
git clone git://github.com/creationix/nvm.git ~/.nvm
Then add three lines to your bash profile:
Then add two lines to your bash profile:
NVM_DIR=$HOME/.nvm
. $NVM_DIR/nvm.sh
nvm use v0.1.91
nvm use
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.
The first line loads the nvm function into your bash shell so that it's available as a command. The second line sets your default node version to the latest released version.
## Usage
To download, install, and use the v0.1.91 release of node do this:
To download, install, and use the v0.1.94 release of node do this:
nvm install v0.1.91
nvm install v0.1.94
And then in any new shell just use the installed version:
nvm use v0.1.91
nvm use v0.1.94
If you want to track HEAD then use the clone command: