Skip to content

Conversation

@terror
Copy link
Contributor

@terror terror commented Nov 24, 2025

Resolves #16833

uv self update could error with a better message if it knows the user has installed it with brew. This diff adds an InstallSource we can use the detect where a uv binary comes from and augment error messages with better context. We're only adding brew for now, but it could easily be extend with other detection heuristics.

}
}

pub(crate) fn update_instructions(self) -> &'static str {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We could also run this command 🤔

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.

Make "uv self update" friendlier

1 participant