NodeJs installation on nginx

NodeJs installation on nginx

To install nodejs on nginx follow these steps

Step1:- login to server via ssh
Step2:- Install node version manager via this command

curl | bash

Step3:- close and restart your terminal
Step4:- Install nodeJs

nvm install 0.10

Step5:- list node versions

nvm ls

Step6:- select node version

nvm use v0

Step7:- check node verision

node -v

This should output your node version.

Leave a Reply

Your email address will not be published. Required fields are marked *