- The added line is THIS COLOR.
- The deleted line is THIS COLOR.
- Go to HowToUse/npm/1.3.
#contents
*Prerequisite [#ee9af4d6]
-NodeJS installation (You can refer [[HowToUse/NodeJS/0.10]])
*Install&Setup [#md5418b4]
:Step.1|
Execute the following command.
$ sudo apt-get install npm
*HowToUse [#n97b6351]
**General Operations [#g1132545]
:Step.1|
Execute the following command.
(Install)
$ npm install <Package Name>
(Uninstall)
$ npm uninstall <Package Name>
(List)
$ npm list
**Manage install modules [#xa15b3d6]
:Step.1|
Create Package.json
$ npm init
:Step.2|
Add dependencies.
$ npm install <Package Name> --save
Or
$ npm install <Package Name> --save-dev
:Step.3|
Install the modules specified in Package.json
$ npm install
**Version up [#i597e803]
:Step.1|
$ npm install npm -g
$ source ~/.bashrc
*Author [#z186590d]
S.Yatsuzuka
#back(back,center,0)