Skip to main content

How To Install NodeJs + NPM (Linux)

1. Head to the official repository for Node.js distributio
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.