NPM not installing

(Eduardo Soares) #1

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.

(Nemo Roy) #2

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
(Eduardo Soares) #3

It solved my issue! Thanks, dude!

(vladislav) closed #4