User Tools

Site Tools



npm - node package manager

see nodejs

update npm itself
sudo npm install -g npm
npm check for updates
npm outdated
npm update packages
npm update
npm init creates package.json
npm init
npm install --save
install express and save it to package.json
npm install --save express
become owner of the /Users/you/.npm folder
sudo chown -R rick /Users/rick/.npm
npm install specific version

Use this syntax to install a specific version listed there:

sudo npm install -g phonegap@2.9.0-rc1-0.12.2
npm install gulp-sass@1.3.3 --save
npm.txt · Last modified: 2015/04/08 10:21 by rick