Fixed directory in readme to use ".nvm" everywhere

This commit is contained in:
Aravind Ramanathan 2012-04-05 15:27:13 -07:00
parent 6d58fcb8c0
commit 7cfe578312

View File

@ -8,11 +8,11 @@ To install create a folder somewhere in your filesystem with the "`nvm.sh`" file
Or if you have `git` installed, then just clone it: Or if you have `git` installed, then just clone it:
git clone git://github.com/creationix/nvm.git ~/nvm git clone git://github.com/creationix/nvm.git ~/.nvm
To activate nvm, you need to source it from your bash shell To activate nvm, you need to source it from your bash shell
. ~/nvm/nvm.sh . ~/.nvm/nvm.sh
I always add this line to my ~/.bashrc or ~/.profile file to have it automatically sources upon login. I always add this line to my ~/.bashrc or ~/.profile file to have it automatically sources upon login.
Often I also put in a line to use a specific version of node. Often I also put in a line to use a specific version of node.