Skip to content

Instantly share code, notes, and snippets.

# Yuriy Smetana
# Node Version Manager with Jenkins
# https://github.com/creationix/nvm , https://www.sitepoint.com/quick-tip-multiple-versions-node-nvm/
set +ex # immediate script fail off (important!), echo off
export NVM_DIR="$HOME/.nvm" # set local path to NVM
. ~/.nvm/nvm.sh # add NVM into the Shell session
#nvm install v6.11.3 # first time only
nvm use v6.11.3 # choose current version
set -ex # immediate script fail on (default), echo on (default)