Skip to content

Instantly share code, notes, and snippets.

@v0lkan
Created September 6, 2022 00:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save v0lkan/295a6e6977e83c72acb1480f28bfb3d2 to your computer and use it in GitHub Desktop.
Save v0lkan/295a6e6977e83c72acb1480f28bfb3d2 to your computer and use it in GitHub Desktop.
Install Node and NPM on Amazon EC2 Linux
# Replace 16 with the version you want to install:
curl -sL https://rpm.nodesource.com/setup_16.x | sudo bash -
# You might need these too:
sudo yum install gcc-c++ make
# Then install node:
sudo yum install nodejs
# Verify node:
node -v
# v16.17.0
# Verify npm:
npm -v
# 8.15.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment