0 votes
1 view
in AWS by (12.8k points)

I've seen the writeup on using yum to install the dependencies, and then installing Node.JS & NPM from source. While this does work, I feel like Node.JS and NPM should both be in a public repo somewhere.

How can I install Node.JS and NPM in one command on AWS Amazon Linux?

1 Answer

0 votes
by (18.6k points)

Try the following commands:

$ curl --silent --location https://rpm.nodesource.com/setup_10.x | bash -

$ yum -y install nodejs

Welcome to Intellipaat Community. Get your technical queries answered by top developers !