1、下载Git安装包,打开Git的官方网站:https://git-scm.com/ 找到下载页:https://git-scm.com/downloads 2.一般默认一直next到底,选择默认设置 找到安装路径 3.配置环境变量 4.成功