官术网_书友最值得收藏!

Using Chocolatey

This is my preferred way to install Git for Windows on Windows 10. It installs the same package as before, but in one line. If you have not heard of Chocolatey, stop everything, and go learn a bit more. It can install the software with a single command; you don't have to use click-through installers anymore!

Chocolatey is very powerful, and I use it in combination with Boxstarter to set up my dev machines. If you are in charge of setting up machines for developers on Windows, it is definitely worth a look.

Let's see how you would install Git using Chocolatey. I assume you have Chocolatey installed (https://chocolatey.org/install) already (it's a one-liner in Command Prompt). Then, simply open the Administrator Command window, and type this command:

$ choco install git -params '"/GitAndUnixToolsOnPath"'  

This will install Git and the BASH tools, and add them to your path.

主站蜘蛛池模板: 禄劝| 都江堰市| 北辰区| 突泉县| 讷河市| 固镇县| 依安县| 梁河县| 安仁县| 铁岭县| 延寿县| 图们市| 黔西| 定边县| 红安县| 大宁县| 香格里拉县| 文昌市| 墨竹工卡县| 清新县| 昆山市| 武威市| 新宁县| 荃湾区| 崇义县| 乌鲁木齐市| 池州市| 海口市| 永仁县| 普格县| 镇赉县| 黑龙江省| 鄱阳县| 石家庄市| 米泉市| 清徐县| 科尔| 永康市| 厦门市| 德化县| 霍州市|