18 lines
424 B
Markdown
18 lines
424 B
Markdown
|
# MSYS2 安装和使用
|
|||
|
|
|||
|
MSYS2 is a collection of tools and libraries providing you with an easy-to-use environment for building, installing and running native Windows software.
|
|||
|
|
|||
|
下载地址:[MSYS2 官网](https://www.msys2.org/)
|
|||
|
|
|||
|
安装完成后,运行 MSYS2 MSYS。然后输入以下命令更新软件包数据库和核心包:
|
|||
|
|
|||
|
```bash
|
|||
|
pacman -Syu
|
|||
|
```
|
|||
|
|
|||
|
安装开发工具:
|
|||
|
|
|||
|
```bash
|
|||
|
pacman -S gcc make vim git
|
|||
|
```
|