From 1e1a005a53725d6d8dc912de9fe32133838c06c4 Mon Sep 17 00:00:00 2001 From: Dwayne Crooks Date: Fri, 15 Jan 2016 05:51:51 -0400 Subject: [PATCH] [Docs] Add manual upgrade instructions to README.markdown --- README.markdown | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.markdown b/README.markdown index 00937c0..52d63c1 100644 --- a/README.markdown +++ b/README.markdown @@ -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).