Here are the easy steps to install NodeJs on EC2 Amazon Linux Server
- First you need to install Node in your system. We are installing Node version manager (NVM) to install Node.
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.32.0/install.sh | bash
2. Now We need to Activate the Node Version Manager.
3. Now Its time to Install NodeJs
nvm install 4.4.5 // change the latest version
4. This following command is used to check whether Node is installed or not in your system.
node -e “console.log(‘Running Node.js ‘ + process.version)”