mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 14:21:50 +00:00
Update the readme since $NVM_DIR's default doesn't seem to be working.
This commit is contained in:
parent
e0bbea635f
commit
d143b5f491
@ -12,7 +12,8 @@ Or if you have `git` installed, then just clone it:
|
||||
|
||||
Then add two lines to your bash profile:
|
||||
|
||||
. $HOME/.nvm/nvm.sh
|
||||
export $NVM_DIR=$HOME/.nvm
|
||||
. $NVM_DIR/nvm.sh
|
||||
nvm use
|
||||
|
||||
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.
|
||||
|
Loading…
Reference in New Issue
Block a user