Install NPM on Debian 12

Jul 17, 2023 · 1 min read · Post a comment

To be able to install modules for node js you need to install npm as well. Let’s jump on it.


  • Debian 12
  • sudo privileges

Install NPM on Debian 12

Step 1. Update the packages.

sudo apt update

Step 2. Install npm.

sudo apt install npm

Step 3. Verify the installation.

npm --version


Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.