Install Nodejs and npm

How to Install Node.js and npm on Debian 10 Linux

https://linuxize.com/post/how-to-install-node-js-on-debian-10/

To install Node.js and npm on your Debian use the following commands:

sudo apt install nodejs npm

One the installation is completed, verify it by typing:

nodejs --version

The command will display the Node.js version:

v10.24.0

This is the easiest way to install Node.js and npm on Debian and should be sufficient for most use cases.

Last change: Tue, 03 Aug 2021 10:25 PM UTC