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

  • Cloud Native Python
  • Manish Sethi
  • 149字
  • 2021-07-02 19:11:52

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.

主站蜘蛛池模板: 绥德县| 贺兰县| 扶余县| 扬中市| 平南县| 馆陶县| 广饶县| 万源市| 富宁县| 香格里拉县| 邳州市| 鲁山县| 辽宁省| 石门县| 庆云县| 东山县| 绥化市| 二手房| 玛曲县| 常宁市| 富阳市| 昌江| 拉萨市| 新乡市| 霸州市| 和田县| 康马县| 泸州市| 临潭县| 邵阳县| 石林| 崇州市| 如东县| 永德县| 青田县| 临沧市| 历史| 古田县| 龙川县| 镇巴县| 柳河县|