Skip to content

fix(scripts): source uv env after installation to update PATH#1108

Open
xiaoju111a wants to merge 1 commit intoMoonshotAI:mainfrom
xiaoju111a:fix/install-script-source-uv-env
Open

fix(scripts): source uv env after installation to update PATH#1108
xiaoju111a wants to merge 1 commit intoMoonshotAI:mainfrom
xiaoju111a:fix/install-script-source-uv-env

Conversation

@xiaoju111a
Copy link
Contributor

@xiaoju111a xiaoju111a commented Feb 11, 2026

Related Issue

Resolve #1107

Description

After install_uv() installs uv, ~/.local/bin is not in the current shell's PATH, causing the subsequent command -v uv check to fail with "uv not found after installation".

This PR adds source "$HOME/.local/bin/env" after installing uv, which is the standard way recommended by uv's own installer to update PATH in the current shell session.

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked the related issue, if any.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have run make gen-changelog to update the changelog.
  • I have run make gen-docs to update the user documentation.

Open with Devin

Copy link
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.

安装的sh脚本有bug || The installed sh script has a bug

1 participant

Comments