1. 安装软件:node-v6.10.3-x64.msi 和 Git-2.13.0-64-bit.exe

      在安装git时,需要选择‘Run Git from the Windows Command Prompt’

2. 安装bower:  在git bash命令行下,npm install bower -g

3. 安装软件包:在git bash命令行下, 当前目录定为到项目下面,bower install lodash   (以lodash为例),指定版本:bower install#2.2.1

4. 卸载软件包:bower uninstall lodash

5. 更新软件包: 将当前项目的所有软件包更新到最新版本:bower update, 更新单独的软件包到最新版本:bower install lodash

6. 查看安装的软件包:bower list

7. 搜索软件包:bower search lodash, 如果要搜索的关键字不在软件包的名字里面,可以上网站搜索https://bower.io/search/

 

posted on 2017-06-05 21:51  milooooo  阅读(250)  评论(0编辑  收藏  举报