root@zetawiki:~# npm
The program 'npm' is currently not installed. You can install it by typing:
apt-get install npm
root@zetawiki:~# apt-get install npm
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
gyp javascript-common libc-ares-dev libc-ares2 libjs-node-uuid libssl-dev
libssl-doc libv8-3.14-dev libv8-3.14.5 node-abbrev node-ansi node-archy
node-async node-block-stream node-combined-stream node-cookie-jar
node-delayed-stream node-forever-agent node-form-data node-fstream
node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs
node-gyp node-inherits node-ini node-json-stringify-safe node-lockfile
node-lru-cache node-mime node-minimatch node-mkdirp node-mute-stream
node-node-uuid node-nopt node-normalize-package-data node-npmlog node-once
node-osenv node-qs node-read node-read-package-json node-request node-retry
node-rimraf node-semver node-sha node-sigmund node-slide node-tar
node-tunnel-agent node-which nodejs nodejs-dev zlib1g-dev
Suggested packages:
node-hawk node-aws-sign node-oauth-sign node-http-signature
The following NEW packages will be installed:
gyp javascript-common libc-ares-dev libc-ares2 libjs-node-uuid libssl-dev
libssl-doc libv8-3.14-dev libv8-3.14.5 node-abbrev node-ansi node-archy
node-async node-block-stream node-combined-stream node-cookie-jar
node-delayed-stream node-forever-agent node-form-data node-fstream
node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs
node-gyp node-inherits node-ini node-json-stringify-safe node-lockfile
node-lru-cache node-mime node-minimatch node-mkdirp node-mute-stream
node-node-uuid node-nopt node-normalize-package-data node-npmlog node-once
node-osenv node-qs node-read node-read-package-json node-request node-retry
node-rimraf node-semver node-sha node-sigmund node-slide node-tar
node-tunnel-agent node-which nodejs nodejs-dev npm zlib1g-dev
0 upgraded, 57 newly installed, 0 to remove and 40 not upgraded.
Need to get 5,463 kB of archives.
After this operation, 22.4 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty/main libc-ares2 amd64 1.10.0-2 [38.5 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ trusty/universe gyp all 0.1~svn1729-3ubuntu1 [201 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ trusty/main javascript-common all 11 [6,066 B]
... (생략)
Setting up node-slide (1.1.4-1) ...
Setting up npm (1.3.10~dfsg-1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
root@zetawiki:~# npm
Usage: npm <command>
where <command> is one of:
add-user, adduser, apihelp, author, bin, bugs, c, cache,
completion, config, ddp, dedupe, deprecate, docs, edit,
... (생략)
root@zetawiki:~# which npm
/usr/bin/npm
root@zetawiki:~# npm -v
1.3.10