Created
September 6, 2022 00:55
-
-
Save v0lkan/295a6e6977e83c72acb1480f28bfb3d2 to your computer and use it in GitHub Desktop.
Install Node and NPM on Amazon EC2 Linux
This file contains hidden or 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
# 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