Created
September 26, 2017 09:11
-
-
Save YSmetana/799e6b039b82ca96dd6057b276fba35e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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