Python/uv: Difference between revisions
< Python
No edit summary |
|||
| Line 16: | Line 16: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
# Check new version | |||
uv self update --check | |||
# Upgrade new version | |||
uv self update | uv self update | ||
# Upgrade if uv self update failed. | |||
curl -LsSf https://astral.sh/uv/install.sh | sh | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 06:16, 27 October 2026
Install
curl -LsSf https://astral.sh/uv/install.sh | sh
downloading uv 0.13.6 x86_64-unknown-linux-gnu installing to /home/xxx/.local/bin uv uvx everything's installed!
Upgrade
# Check new version
uv self update --check
# Upgrade new version
uv self update
# Upgrade if uv self update failed.
curl -LsSf https://astral.sh/uv/install.sh | sh