Update README.markdown

This commit is contained in:
lucky code dog 2015-12-11 19:14:23 +08:00
parent 8746344e02
commit 5ecfad48c0
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ or Wget:
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash
<sub>The script clones the nvm repository to `~/.nvm` and adds the source line to your profile (`~/.bash_profile`, `~/.zshrc` or `~/.profile`).</sub> <sub>The script clones the nvm repository to `~/.nvm` and adds the source line to your profile (`~/.bash_profile`, `~/.zshrc` or `~/.profile`).</sub>
eg. source ~/.profile
You can customize the install source, directory and profile using the `NVM_SOURCE`, `NVM_DIR`, and `PROFILE` variables. You can customize the install source, directory and profile using the `NVM_SOURCE`, `NVM_DIR`, and `PROFILE` variables.
Eg: `curl ... | NVM_DIR="path/to/nvm" bash` Eg: `curl ... | NVM_DIR="path/to/nvm" bash`