How To Install NodeJs + NPM (Linux)
1. Head to the official repository for Node.js distributio
The link is right here: https://github.com/nodesource/distributions. Head there and scroll down to find the correct command to copy and paste to install the version of Node you would like
2. Start Node.js Installation
After you pick out the command, just have to run it, it will add the corresponding Node.js source to your sources.list, which then you can just run sudo apt-get install nodejs
which will install the correct version that you have selected
3. Verify Installation
Run node -v
and npm -v
to verify that both of the tools are installed.
No Comments