NPM not installing

Hi everyone, I’m trying to install npm on my Parrot Os 4.19.

I already have nodejs installed on the latest version (8.11.2), but somehow it’s not being possible to install the npm package. I’ve already tried to use the following ways:

sudo apt-get install npm

curl -sL | sudo bash -

sudo apt-get install build-essential nodejs

It keeps telling me that it’s impossible to find the npm package. If anyone here can help, I would apreciate.

First of all You need to update and upgrade your system by using “sudo parrot-upgrade”
And then you can use “sudo apt-get install npm” for installing npm.

1 Like

It solved my issue! Thanks, dude!