piz solves one problem: you know what you want to do, but not the exact command. Describe it in plain language, and piz translates it into the right shell command for your OS and shell.
piz solves one problem: you know what you want to do, but not the exact command. Describe it in plain language, and piz translates it into the right shell command for your OS and shell. Features - Natural Language to Command - Describe what you want, get the exact command - Multi-Backend LLM - OpenAI, Claude, Gemini, Ollama + 12 OpenAI-compatible providers (DeepSeek, SiliconFlow, OpenRouter, Moonshot, Zhipu/GLM, Qianfan, DashScope, Mistral, Together, Minimax, BytePlus, and more) - Security Hardening - Three-layer protection: prompt-level refusal for non-command input, injection detection (base64 payloads, env exfiltration, reverse shells, curl config attacks), and regex-based danger classification - Danger Detection - Dual-layer: regex patterns + LLM classification. Dangerous commands always require explicit confirmation - Command Explain - Break down any command into its components with piz -e - Command Fix - Auto-diagnose and fix failed commands with piz fix, with auto-retry (up to 3 attempts) - Interactive Chat - Multi-turn chat mode with context (piz chat), with /help, /clear, /history commands and persistent history - Multi-Candidate - Generate multiple command options with -n and pick your preferred one - Local Cache - SQLite cache with TTL + LRU eviction, max entries limit, repeated queries return instantly - Execution History - Track all executed commands with piz history, searchable - Shell Integration - piz init <shell> generates shell wrapper functions so cd/export/source work correctly in the current shell (bash, zsh, fish, PowerShell), with built-in aliases (p, pf, pc) - Eval Mode - --eval outputs confirmed command for shell wrapper to eval, used by shell integration - Shell Completions - Generate completions for bash, zsh, fish, and PowerShell - Pipe Mode - Script-friendly output with --pipe for integration with other tools - Multi-Language UI - Chinese, English interface with localized security messages - Cross-Platform - Windows (PowerShell/cmd), macOS, Linux (bash/zsh/fish) with non-invasive encoding (no chcp/OutputEncoding modification) - Interactive Setup - First-run wizard with provider presets, no manual config editing needed - NO_COLOR Support - Respects the NO_COLOR environment variable - API Resilience - Automatic retry with exponential backoff for 429/5xx errors
What's new in 0.3.4
Full Changelog: https://github.com/AriesOxO/piz/compare/v0.3.3...v0.3.4
Full Changelog: https://github.com/AriesOxO/piz/compare/v0.3.2...v0.3.3
0.3.2
Improved / 优化 - Introduced ExecContext and ChatConfig structs to eliminate #[allow(clippy::too_many_arguments)] in handle_command_with_autofix and run_chat - 引入 ExecContext 和 ChatConfig 结构体,消除 handle_command_with_autofix 和 run_chat 的过多参数警告 - Extracted truncate_history() as a standalone testable function with 7 unit tests for history truncation logic - 将 truncate_history() 提取为独立可测试函数,新增 7 个历史截断逻辑单元测试 - Added 9 shell script syntax validation tests for shell_init.rs (brace balance, path slashes, eval file cleanup, subcommand passthrough) - 为 shell_init.rs 新增 9 个脚本语法验证测试(括号平衡、路径斜杠方向、eval 文件清理、子命令透传) - Replaced silent unwrap_or_default() with logged error for explanation fetch failures - 将解释获取的静默 unwrap_or_default() 替换为带日志的错误处理 - Added SAFETY comments to both unsafe blocks (Windows VT100 console setup, GBK decoding) - 为两处 unsafe 块添加 SAFETY 注释(Windows VT100 控制台设置、GBK 解码) - Replaced panic! with unreachable! in CLI test assertions for better semantics - 测试中的 panic! 替换为语义更精确的 unreachable! - Added pre-push checklist to CLAUDE.md enforcing cargo fmt, cargo clippy, cargo test before push - 在 CLAUDE.md 中添加推送前必须执行的检查规范 - Updated documentation: test counts (190→437), added /detail to chat commands, added missing test files to architecture diagram - 更新文档:测试数量(190→437)、聊天模式补充 /detail 命令、架构图补充测试文件 - Total tests: 437 (344 unit + 45 integration + 48 windows shell) - 测试总数:437(344 单元 + 45 集成 + 48 环境) Full Changelog: https://github.com/AriesOxO/piz/compare/v0.3.1...v0.3.2
Frequently asked questions
Is piz free?
Yes. piz is free and open-source software released under the MIT license.
What is the latest version of piz?
The latest version is 0.3.4, released on Apr 11, 2026.
Is it safe to download piz?
The download button links to the official installer published on github.com, the same file Windows Package Manager installs. You can verify the downloaded file by comparing its SHA-256 checksum with c6962b3ddfe5fa1c78771e116f30e790ddd9d98d633cbd4970aab102d15979d6.
Which Windows versions does piz support?
piz runs on Windows and is available for 64-bit (x64) systems.
How do I install piz silently?
Run the offline installer with msiexec /i "piz-x86_64-pc-windows-msvc.msi" /quiet /norestart, or install it with Windows Package Manager: winget install --id=AriesOxO.piz -e --silent.
How do I uninstall piz?
Open Settings › Apps › Installed apps, find piz and select Uninstall. From the command line, run winget uninstall --id=AriesOxO.piz -e.
Alternatives to piz
Other Command Line Tools programs for Windows from different developers.