Skip to content

Instantly share code, notes, and snippets.

@YSmetana
Created September 26, 2017 09:11
Show Gist options
  • Save YSmetana/799e6b039b82ca96dd6057b276fba35e to your computer and use it in GitHub Desktop.
Save YSmetana/799e6b039b82ca96dd6057b276fba35e to your computer and use it in GitHub Desktop.
# 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment