Home

Published

- 1 min read

install node on linux instance

img of install node on linux instance

The solution for this is noted below

install node on linux instance

Solution

   #Install node version manager (nvm) by typing the following at the command line.

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

#Activate nvm by typing the following at the command line.

. ~/.nvm/nvm.sh

#Use nvm to install the latest version of Node.js by typing the following at the command line.
nvm install node

Try other methods by searching on the site. That is if this doesn’t work