Skip to content

Instantly share code, notes, and snippets.

@alexsmbaratti
Created March 16, 2018 21:35
Show Gist options
  • Save alexsmbaratti/b83933865db39935ea593f5d144b3ab6 to your computer and use it in GitHub Desktop.
Save alexsmbaratti/b83933865db39935ea593f5d144b3ab6 to your computer and use it in GitHub Desktop.
Install Node on Amazon Linux
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
. ~/.nvm/nvm.sh
echo "Installing latest long term-support-version of Node"
nvm install --lts
node -e "console.log('Running Node.js ' + process.version)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment