使用bower安装bootstrap命令: bash$ bower install bootstrap 问题何安装bower 官中国站说: Bower depends on Node and npm. It's installed globally using npm: npm install -g bower Also make sure that git is installed as some bower packages require it to be fetched and installed. 问题node与npm使用ubuntuapt-get结装node没npm装npm没node 解决: 装npmsudo apt-get install npm 用npm安装nodebower没装于更新node版本 步骤: sudo npm cache clean -f sudo npm install -g n sudo n stable 参考篇文章点击打链接依安装即 总结先安装npm用源安装用npm安装node并其进行更新 用npm安装bower bower安装bootstra