EC2 install NodeJS

Installing Node JS on AWS EC2 instance

To install Node JS on AWS EC2 linux instance it is best to use nvm - a Node version manager

Step 1. Install nvm

curl -o- | bash

Step 2. Install the latest version of Node with nvm:

nvm install node

or alternatively, to install a specific Node version, provide a version number like this:

nvm install 12.18.3

See a full article on installing Node app on EC2 instance

Powered by

Copyright 2019 - present