1.安装nodeJs(node-v0.12.2-x64.msi),和git client(Git-1.9.5-preview20150319.exe)
2.命令窗口运行 npm instal -g cordova
安装过程根据网速定,一般会有十几几十分钟很正常
同事总结了下cordova的镜像服务器地址,比较全面,放在这里我也好参考,
android sdk download proxy
mirrors.opencas.cn 80
大连东软信息学院镜像服务器地址:
http://mirrors.neusoft.edu.cn 端口:80
北京化工大学镜像服务器地址:
IPv4: http://ubuntu.buct.edu.cn/ 端口:80
IPv4: http://ubuntu.buct.cn/ 端口:80
IPv6: http://ubuntu.buct6.edu.cn/ 端口:80
上海GDG镜像服务器地址:
http://sdk.gdgshanghai.com 端口:8000
中国科学院开源协会镜像站地址:
IPV4/IPV6: http://mirrors.opencas.cn 端口:80
IPV4/IPV6: http://mirrors.opencas.org 端口:80
IPV4/IPV6: http://mirrors.opencas.ac.cn 端口:80