Open weihenglim opened 1 month ago
Ahh yeah, that's a known issue on Windows: https://github.com/astral-sh/uv/issues/1368. You should be able to do uv self update
if you installed via the standalone installers (as opposed to through pip
or similar).
Ah that's a shame, was hoping it would be possible to just upgrade everything (including uv
itself) with a single uv tool upgrade --all
command. Guess I'll stick with the standalone installers for now.
I'm not sure it makes sense to manage uv with uv, it creates a weird chicken and egg problem. You can definitely do uvx uv@version
though!
rustup update
updates both its managed toolchains, then does a self update, we should consider a similar convenience function for uv.
Hm like uv upgrade
?
Could be cool.
Currently the documentation's recommended way of installing
uv
is viapipx
. With the release ofuv tool
, it would be great to letuv
manage itself, similar to how you can dopipx install pipx
.When testing on my Windows 11 machine,
uv tool install uv
works but the tool breaks when attempting to upgradeuv
to the latest version: