mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-11 14:51:49 +00:00
Fixed directory in readme to use ".nvm" everywhere
This commit is contained in:
parent
6d58fcb8c0
commit
7cfe578312
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user