Installing NodeJS onto Debian
First, we’ll remove node and npm
sudo apt-get purge nodejs sudo apt-get purge npm
Install Node via Nodesource.com
sudo curl -sL https://deb.nodesource.com/setup_6.x | sudo bash -
Install node, and npm, I use node-legacy just to set up the standard code path.
sudo apt-get install nodejs sudo apt-get install node-legacy sudo apt-get install npm sudo npm install less -g --force sudo npm install uglify-js -g --force sudo npm install uglify-css -g --force
Gareth
Related Posts |
---|
Installing Redis with Magento |
Installing php7 on Debian for Magento2 |