dajocarter
12/19/2016 - 3:30 PM

Install nvm on serverpilot

Install nvm on serverpilot

# Install dependencies as root user
ssh root@server.tribeswell.com
sudo apt-get update
sudo apt-get install build-essential libssl-dev
# Now logout of root and login as serverpilot user
ssh serverpilot@server.tribeswell.com
# Install nvm to install node and npm
# Be sure to visit the github page to view the latest version available
curl https://raw.githubusercontent.com/creationix/nvm/v0.32.1/install.sh | sh
# Logout and login to begin using or use provided commands
# List versions to see the latest node version available
nvm ls-remote
# Install the Latest LST version
nvm install 6.9.2
# You are now ready to start using npm install inside of apps