msys2
文章目录
shell 分类
参考:
区别:
msys
- cygwin
Msys mingw 64
- x86_x64 windows
- 提供基于 windows 的 程序和 mingw-w64 编译系统
Msys mingw 32
- x86 windows
启动不同 msystem 的方法
参考:
使用 msys2_shell.cmd
1E:\soft\msys64\msys2_shell.cmd -mingw64 -shell zsh使用 env 命令
1e:\msys64\usr\bin\env MSYSTEM=MSYS /usr/bin/bash -li.exe 工具
1e:\msys64\usr\bin\mingw64 zshmintty
1E:\soft\msys64\usr\bin\mintty.exe -w hide /bin/env MSYSTEM=MINGW64 /bin/bash
调用 (在 windows 中) 调 msys2 命令
| |
格式:
bash -c "{msys2 style path} {args}"
例子:
| |
指定 msystem 再调用
msystem 是指 msys, mingw32, mingw64, ucrt64
eg:
| |
隐藏 shell 窗口
| |
换源
参考:
| |
文章作者
上次更新 2023-02-01 (9aed3e4)