---
# System prepended metadata

title: git环境安装

---

# git环境安装

### 1.下载安装Git
- https://git-scm.com/download/win

![image](https://hackmd.io/_uploads/HkWy54Zva.png)


### 2.下载完成后，双击安装
![image](https://hackmd.io/_uploads/HkJGcNWwT.png)

### 3.选择安装目录

![image](https://hackmd.io/_uploads/SJKf94bD6.png)

### 4.选择组件
![image](https://hackmd.io/_uploads/HJkN94-Pa.png)


### 5.开始菜单目录名设置
![image](https://hackmd.io/_uploads/rkrr94-PT.png)


### 6.选择使用命令行环境
![image](https://hackmd.io/_uploads/Hk5S5N-vp.png)


### 7.以下三步默认，直接点击下一步
![image](https://hackmd.io/_uploads/rkmL94Zv6.png)
![image](https://hackmd.io/_uploads/H1GD5EWDp.png)
![image](https://hackmd.io/_uploads/BJDwq4-Pp.png)

    
### 8.安装完成
![image](https://hackmd.io/_uploads/S1YO54Zwp.png)


### 9.检验是否安装成功
回到电脑桌面，鼠标右击如果看到如下两个git单词则安装成功
![image](https://hackmd.io/_uploads/SyBtcEZwT.png)

