I want to install https://github.com/kangax/html-minifier .
But after using npm install html-minifier
I get the message:
bash: npm: command not found
I'm using Debian 9 stretch and got nodejs by apt-get install
.
I've tryed to fix my problem by installing nodejs-legacy and build-essential but nothing changed.
If I use nodejs -v
I get v4.8.2
.
I never used nodejs befor, what do I wrong?