Weco LogoWeco Docs
CLI

Installation

How to install the Weco CLI

Prerequisites

The weco CLI currently supports Python version 3.9 and above.

Install the CLI

curl -fsSL https://weco.ai/install.sh | sh
powershell -ExecutionPolicy ByPass -c "irm https://weco.ai/install.ps1 | iex"
irm https://weco.ai/install.ps1 | iex
pip install weco
We recommend using a virtual environment when installing with pip.
git clone https://github.com/wecoai/weco-cli.gitcd weco-clipip install -e .
Use this if you want to contribute or modify Weco.

Set up as a skill

Weco is available as a skill for AI coding assistants. A skill is a set of instructions that gets installed into your assistant's context, teaching it how to use Weco end-to-end — from setting up optimizations to interpreting results. Once installed, just describe what you want to optimize in plain language and your assistant handles the rest.

Claude Code

weco setup claude-code

This writes the Weco skill file to your Claude Code configuration. Claude will automatically pick it up in future conversations.

Cursor

weco setup cursor

This installs the Weco skill plus an always-on Cursor rule that makes the skill available across all your projects.

Using the skill

Once set up, open your assistant in a project and prompt it naturally:

Use Weco to make this function faster.
Optimize module.py for accuracy using evaluate.py as the benchmark.

Your assistant will inspect your code, configure the right weco run command, execute it, and explain the results — no need to remember CLI flags or write evaluation scripts from scratch.

What's Next?

You're ready to start optimizing! See the Quickstart guide for a complete walkthrough.

On this page