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.