|
Download packages/coding-agent/docs/windows.md from SaylorTwift/pi: direct link, hf CLI and curl.
- Browser
- Download file 987 Bytes
-
https://huggingface.co/SaylorTwift/pi/resolve/main/packages/coding-agent/docs/windows.md
- Command line
-
hf download hf://SaylorTwift/pi/packages/coding-agent/docs/windows.md
-
curl -L -o windows.md https://huggingface.co/SaylorTwift/pi/resolve/main/packages/coding-agent/docs/windows.md
987 Bytes
Windows Setup
Pi uses Git Bash by default 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.
PowerShell Tool
The optional powershell tool runs commands through pwsh.exe when available, otherwise Windows PowerShell. It starts PowerShell with -NoProfile -NonInteractive -ExecutionPolicy Bypass. Administrator-enforced execution policies can still take precedence.
Use defaultTools to replace the model-facing bash tool:
{
"defaultTools": ["read", "powershell", "edit", "write"]
}
Or enable both while comparing behavior:
{
"defaultTools": ["read", "bash", "powershell", "edit", "write"]
}
The ! and !! editor commands still use Bash.
Custom Bash Path
{
"shellPath": "C:\\cygwin64\\bin\\bash.exe"
}