Pi Official Docs
Windows
Pi 官方文档中文整理 · 待翻译,当前可能显示官方原文
本文基于官方 MIT 文档翻译整理,不代表 pi.dev 官方中文站。同步 commit:1287b69f,同步时间:2026/6/19。
Windows Setup
Pi requires a bash shell on Windows. Checked locations (in order):
- Custom path from
~/.pi/agent/settings.json - Git Bash (
C:\Program Files\Git\bin\bash.exe) bash.exeon PATH (Cygwin, MSYS2, WSL)
For most users, Git for Windows is sufficient.
Custom Shell Path
{
"shellPath": "C:\\cygwin64\\bin\\bash.exe"
}