Update README.markdown

This commit is contained in:
lucky code dog 2015-12-11 19:17:13 +08:00
parent 5ecfad48c0
commit da03a34062
1 changed files with 2 additions and 2 deletions

View File

@ -30,8 +30,8 @@ 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 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`