Can't Install npm on parrot sec os

I checked with node -v and see that parrot have nodejs installed “v10.17.0” but can’t install npm

try with this
npm install -g npm@latest

and check node -v

for npm in parrot or any debian distro
sudo apt update && sudo apt install npm -y

sudo apt install npm works fine for me. And please show us what the hell happened if you get an error Mr.Brilliant.

dmknght this is what I got: “bash: npm: command not found”
amrrit1 solution worked for me.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.