Skip to content

fix: [#86] Improve trae-cli installation docs and troubleshooting#388

Open
nandanosql wants to merge 1 commit into
bytedance:mainfrom
nandanosql:fix/issue-86-cli-installation-docs
Open

fix: [#86] Improve trae-cli installation docs and troubleshooting#388
nandanosql wants to merge 1 commit into
bytedance:mainfrom
nandanosql:fix/issue-86-cli-installation-docs

Conversation

@nandanosql
Copy link
Copy Markdown

Fixes #86

Problem

After installing trae-agent with uv sync, running trae-cli directly produces "command not found" because the virtual environment bin directory is not on PATH by default.

Solution

Expanded the troubleshooting section in README.md with three clear approaches to running trae-cli:

  1. Activate the virtual environment (source .venv/bin/activate)
  2. Use uv run (no activation needed)
  3. Call the binary directly (.venv/bin/trae-cli)

Also added a tip about persisting venv activation in shell profile for convenience.

…oting

Expand the 'command not found' troubleshooting section with three
approaches to running trae-cli (activate venv, uv run, direct binary),
plus a tip about persisting venv activation in shell profile.
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

trae-cli command not found

2 participants