Install¶
Choose your platform to get started with zhi CLI.
macOS / Linux¶
Requires Python 3.10+. Install via pip:
Don't have Python?
Or download from python.org.
Then configure:
Windows¶
Option A: Standalone exe (no Python needed)¶
The .exe bundles Python — just download, place it in your PATH, and run:
Option B: pip install (requires Python 3.10+)¶
Installing Python on Windows
Download from python.org and check "Add Python to PATH" during installation.
Verify Installation¶
You should see output like zhi 0.1.19.
Get an API Key¶
zhi requires a Zhipu AI API key. Get one free at open.bigmodel.cn.
Upgrade¶
For the Windows exe, download the latest version from this page.