meshapi) is a terminal app that lets you chat with any model,
switch between 1000+ models, and have it write and run code for you β all from
your Terminal or PowerShell.
It installs with pipx, which needs Python. The steps
below install Python, pipx, and the CLI from scratch. Pick your OS.
The whole install is three tools: Python β pipx β meshapi-code.
After the one-time setup, updating is a single command β see
Using the CLI β Staying up to date.
- macOS
- Windows
1. Install Python
- Open Safari (or any browser) and go to python.org/downloads.
- Click the yellow Download Python 3.x button (any recent 3.x is fine).
- Open the downloaded file β named like
python-3.14.6-macos11.pkg. - Click Continue β Continue β Continue β Agree β Install, enter your Mac login password, then Install Software.
- Wait for βThe installation was successfulβ and click Close.
2. Check Python
- Press β + Space, type
Terminal, press Enter. - Run:
Python 3. followed by numbers. β
3. Install pipx
Success! Added /Users/you/.local/bin to the PATH.4. Install the Mesh CLI
done! and installed package meshapi-code, the CLI is ready. β
Next step
The CLI is installed. Head to Using the Mesh CLI to add your API key and send your first prompt.Hit a snag during install? See Mesh CLI debugging.