[Docs] Add manual upgrade instructions to README.markdown

Dwayne Crooks 2016-01-15 05:51:51 -04:00 committed by Dwayne R. Crooks
parent 1ba8a96ec9
commit 1e1a005a53
1 changed files with 6 additions and 0 deletions

View File

@ -55,6 +55,12 @@ Add these lines to your `~/.bashrc`, `~/.profile`, or `~/.zshrc` file to have it
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
### Manual upgrade
For manual upgrade with `git`, change to the `$NVM_DIR`, pull down the latest changes, and check out the latest version:
cd "$NVM_DIR" && git pull origin master && git checkout `git describe --abbrev=0 --tags`
## Usage
You can create an `.nvmrc` file containing version number in the project root directory (or any parent directory).