用bower install jquery安裝jquery,bower提示錯誤bower git is not installed or not in the path。jquery
根據錯誤信息的知道出現錯誤兩個緣由:git
1.沒有安裝git(這個就不用多講)blog
----------------------------------------------------------bower
2.沒有安裝系統變量,下面是win7的作法:cmd
首先git安裝目錄:D:\Program Files\Git\bin;D:\Program Files\Git\cmd;it