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

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.

主站蜘蛛池模板: 滨州市| 富锦市| 铅山县| 东宁县| 怀远县| 邛崃市| 石嘴山市| 南安市| 望奎县| 吴桥县| 互助| 尼木县| 荔波县| 郑州市| 衡水市| 仲巴县| 定南县| 和田县| 竹溪县| 恩施市| 天长市| 禹城市| 慈利县| 徐汇区| 澳门| 黎平县| 义乌市| 云南省| 阿坝县| 辽中县| 梓潼县| 扎囊县| 邯郸县| 梅河口市| 武乡县| 洞头县| 宿松县| 天水市| 孟村| 保定市| 施秉县|