码迷,mamicode.com
首页 > Windows程序 > 详细

Win7 之 NodeJS 安装

时间:2014-04-30 13:12:25      阅读:782      评论:0      收藏:0      [点我收藏+]

标签:com   http   blog   style   class   div   img   code   java   log   javascript   

感谢: http://blog.chinaunix.net/uid-20648927-id-3081948.html

http://www.infoq.com/cn/articles/nodejs-npm-install-config

 

1、NodeJS下载:http://nodejs.org/#download 直接安装即可

2、msysgit下载:http://msysgit.github.io/ 直接安装即可

3、npm 下载安装

打开msysgit

mamicode.com,码迷
$ git clone --recursive git://github.com/isaacs/npm.git
Cloning into ‘npm‘...
remote: Reusing existing pack: 29538, done.
remote: Counting objects: 41, done.
remote: Compressing objects: 100% (37/37), done.
remote: Total 29579 (delta 7), reused 1 (delta 0)
Receiving objects: 100% (29579/29579), 16.07 MiB | 286.00 KiB/s, done.
Resolving deltas: 100% (14284/14284), done.
Checking connectivity... done.
Checking out files: 100% (1324/1324), done.


$ node cli.js install npm -gf npm WARN using --force I sure hope you know what you are doing. npm http GET https://registry.npmjs.org/npm npm http 304 https://registry.npmjs.org/npm npm http GET https://registry.npmjs.org/npm/-/npm-1.4.7.tgz npm http 200 https://registry.npmjs.org/npm/-/npm-1.4.7.tgz npm WARN package.json github-url-from-git@1.1.1 No repository field. c:\Program Files\nodejs\npm -> c:\Program Files\nodejs\node_modules\npm\bin\npm- cli.js npm@1.4.7 c:\Program Files\nodejs\node_modules\npm $ npm install underscore npm WARN package.json github-url-from-git@1.1.1 No repository field. npm http GET https://registry.npmjs.org/underscore npm http 200 https://registry.npmjs.org/underscore npm http GET https://registry.npmjs.org/underscore/-/underscore-1.6.0.tgz npm http 200 https://registry.npmjs.org/underscore/-/underscore-1.6.0.tgz underscore@1.6.0 node_modules\underscore $ npm -v 1.4.7
mamicode.com,码迷

 

完毕!

 

 

Win7 之 NodeJS 安装,码迷,mamicode.com

Win7 之 NodeJS 安装

标签:com   http   blog   style   class   div   img   code   java   log   javascript   

原文地址:http://www.cnblogs.com/la-isla-bonita/p/3699193.html

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