20 Dec NPM Linux Setup
Posted at 17:57h
in Linux Instructions
Install node.js
Login as root or sudoer.
curl -sL https://deb.nodesource.com/setup | sudo bash –
apt-get install -y nodejs OR apt-get install nodejs
Update NPM
npm install npm -g
Test NPM
npm -v (Version should be greater than 2.1.8)
Installing NPM Packages
There are a thousands of packages available we will use Google’s Material Design for this example.
Create the directory in which to install the package and cd into it (or use and existing directory).
npm install material-design-icons