Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,11 +253,27 @@ echo $OPENAI_API_KEY
trae-cli show-config
```

**Command Not Found:**
**`trae-cli: command not found`:**

This happens when the virtual environment's `bin/` directory is not on your `PATH`. Fix it with one of these approaches:

```bash
# Option 1: Activate the virtual environment (recommended)
source .venv/bin/activate
trae-cli run "your task"

# Option 2: Use `uv run` (no activation needed)
uv run trae-cli run "your task"

# Option 3: Call the binary directly
.venv/bin/trae-cli run "your task"
```

> **Tip:** If the command disappears after opening a new terminal, make sure you activate the venv first (`source .venv/bin/activate`). You can add this to your shell profile for convenience:
> ```bash
> echo 'source /path/to/trae-agent/.venv/bin/activate' >> ~/.bashrc
> ```

**Permission Errors:**
```bash
chmod +x /path/to/your/project
Expand Down