[Solved] npm: command not found on Ubuntu

July 20, 2023

[Solved] npm: command not found on Ubuntu

Install Node.js and NPM.


sudo apt install nodejs -y
sudo apt-get install npm

npm -v # Installed?