首页 > 代码库 > Win7 之 NodeJS 安装
Win7 之 NodeJS 安装
感谢: 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
$ 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
完毕!
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。