Hello World from OSS Silicon Valley


HowToUse/npm/1.3

_ Prerequisite

_ Install&Setup

Step.1
Execute the following command.
$ sudo apt-get install npm

_ HowToUse

_ General Operations

Step.1
Execute the following command.

(Install)

$ npm install <Package Name>

(Uninstall)

$ npm uninstall <Package Name>

(List)

$ npm list

_ Manage install modules

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

Step.1
$ npm install npm -g
$ source ~/.bashrc

_ Author

S.Yatsuzuka

[ back ]
Last-modified: 2017-06-10 (Sat) 15:31:33 (2505d)