【Node】nmpinstall
// install package
创新互联是一家专业提供固安企业网站建设,专注与网站设计、网站建设、H5技术、小程序制作等业务。10年已为固安众多企业、政府机构等服务。创新互联专业网站设计公司优惠进行中。
[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】nmpinstall
文章URL:http://myzitong.com/article/igegpj.html