码迷,mamicode.com
首页 > 其他好文 > 详细

【Node】nmp install

时间:2015-08-11 10:19:34      阅读:167      评论:0      收藏:0      [点我收藏+]

标签:nodejs npm install

// install package

[root@wode001 10.node.js]# npm install -g grunt-cli

/usr/local/bin/grunt -> /usr/local/lib/node_modules/grunt-cli/bin/grunt

grunt-cli@0.1.13 /usr/local/lib/node_modules/grunt-cli

├── resolve@0.3.1

├── nopt@1.0.10 (abbrev@1.0.7)

└── findup-sync@0.1.3 (lodash@2.4.2, glob@3.2.11)

[root@wode001 10.node.js]# 


// restart iptables

[root@wode001 10.node.js]# service iptables restart

iptables:将链设置为政策 ACCEPT:filter                    [确定]

iptables:清除防火墙规则:                                 [确定]

iptables:正在卸载模块:                                   [确定]

iptables:应用防火墙规则:                                 [确定]

[root@wode001 10.node.js]#


// install express

[root@wode001 10.node.js]# npm install -g express

express@4.13.3 /usr/local/lib/node_modules/express

├── merge-descriptors@1.0.0

├── cookie-signature@1.0.6

├── methods@1.1.1

├── escape-html@1.0.2

├── range-parser@1.0.2

├── array-flatten@1.1.1

├── cookie@0.1.3

├── content-type@1.0.1

├── utils-merge@1.0.0

├── parseurl@1.3.0

├── fresh@0.3.0

├── vary@1.0.1

├── path-to-regexp@0.1.7

├── etag@1.7.0

├── content-disposition@0.5.0

├── serve-static@1.10.0

├── depd@1.0.1

├── qs@4.0.0

├── proxy-addr@1.0.8 (forwarded@0.1.0, ipaddr.js@1.0.1)

├── finalhandler@0.4.0 (unpipe@1.0.0)

├── on-finished@2.3.0 (ee-first@1.1.1)

├── debug@2.2.0 (ms@0.7.1)

├── send@0.13.0 (destroy@1.0.3, statuses@1.2.1, ms@0.7.1, mime@1.3.4, http-errors@1.3.1)

├── accepts@1.2.12 (negotiator@0.5.3, mime-types@2.1.4)

└── type-is@1.6.6 (media-typer@0.3.0, mime-types@2.1.4)

[root@wode001 10.node.js]# 



【Node】nmp install

标签:nodejs npm install

原文地址:http://huangchao.blog.51cto.com/10446378/1683493

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!