首先安装git 然后运行命令 npm install -g bower 然后可以用bower命令安装js bower install jquery 转载于:https://www.cnblogs.com/chaiming/p/9878547.html