Contact

Blogs

Take a look at the things that interest us.

Installing node.js on Amazon ec2 Linux

Wesley Wesley 2 years

In today blog post we are going to install node.js for our Amazon Linux ec2 instance.

Let's first download the nvm package.

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash

Now activate the nvm by typing the following at the command line.

. ~/.nvm/nvm.sh

Now let's use nvm to install the latest version of Node.js.

nvm install node

Now test if node.js has been installed.

node -e "console.log('Running Node.js ' + process.version)"
output
Running Node.js v15.2.1

Node.js has been installed and is ready for use.

Installing node.js on Amazon ec2 Linux 2021-08-24 08:20:35

There are no comments.

4236

Have questions about our services?

Contact our Sales team to get answers.

Contact Us
gomibako@aska-ltd.jp