Follow these steps to install the Polymarket CLI Research Tool on your system.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/stat-guy/polymarket/llms.txt
Use this file to discover all available pages before exploring further.
Install via Homebrew
The recommended installation method for macOS and Linux is Homebrew.Add the Polymarket tap
First, add the Polymarket CLI tap to your Homebrew installation:This registers the official Polymarket CLI repository with Homebrew.
Install the CLI
Install the Homebrew will download and install the CLI binary along with its dependencies.
polymarket command:Verify your setup
After installation, verify that all prerequisites are met.Check Python version
The chart generation script requires Python 3.9 or higher:Python 3.9.x or higher.
Test basic commands
Run a simple command to ensure the CLI can reach Polymarket APIs:Verify PATH
If you encounterpolymarket: command not found, check that the binary is on your PATH:
polymarket binary (typically /opt/homebrew/bin/polymarket on Apple Silicon or /usr/local/bin/polymarket on Intel Macs).
Troubleshooting
polymarket: command not found
polymarket: command not found
If the
polymarket command is not found:- Verify the CLI is installed:
brew list | grep polymarket - Check your PATH includes Homebrew’s bin directory
- Try reopening your terminal to refresh the PATH
- Run
brew doctorto diagnose Homebrew issues
Python version too old
Python version too old
If your Python version is below 3.9:macOS:Linux (Ubuntu/Debian):Then verify:
Network connectivity issues
Network connectivity issues
The CLI requires internet access to query Polymarket APIs. If you see connection errors:
- Check your internet connection
- Verify you can reach
https://clob.polymarket.com - Check if a firewall or VPN is blocking requests
- Try using a different network
Next steps
Quick start
Learn how to look up events, markets, and generate your first price chart