Skip to content

fix: source uv env during bash install#2283

Open
he-yufeng wants to merge 1 commit into
MoonshotAI:mainfrom
he-yufeng:fix/install-uv-env-path
Open

fix: source uv env during bash install#2283
he-yufeng wants to merge 1 commit into
MoonshotAI:mainfrom
he-yufeng:fix/install-uv-env-path

Conversation

@he-yufeng
Copy link
Copy Markdown

@he-yufeng he-yufeng commented May 14, 2026

Summary

  • source uv's generated env file immediately after the bash installer installs uv
  • fall back to adding the uv bin dir to PATH when the env file is absent

Fixes #2272.

To verify

  • C:\Program Files\Git\bin\bash.exe -n scripts/install.sh
  • smoke-tested scripts/install.sh with a fake uv installer where uv is installed outside the initial PATH and then invoked by the same script
  • git diff --check

Open in Devin Review

Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 2 additional findings.

Open in Devin Review

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.

[Bug] install.sh doesn't source uv's env after installing it: first-time users get "uv not found" or "kimi: command not found"

1 participant