Problems installing NPM? Maybe you have asked why my debian stretch dont have npm after installing nodejs? Maybe you've had problems when you install NodeJS and NPM isn't installed with him.
A few forums have information about that problem, some of them says that you should install
# apt install nodejs
$ curl -sL https://deb.nodesource.com/setup_6.x $ chmod +x setup_6.x # ./setup_6.x
Even things like:
# apt install build-essential libssl-dev
I don't know how it can help..
My solution and for that reason I published it here, was:
First install a tool named: NVM (Node Version Magager)
You can do it thus:
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
The tuto is here: https://github.com/creationix/nvm/blob/master/README.md#install-script
After you should write:
nvm install node
If it said NVM is not found, you should close and open another terminal...
After this you have NPM installed already. Congratulations!! If it was helpful, comment please :)