uv icon indicating copy to clipboard operation
uv copied to clipboard

Add uninstallation steps for the tool in the documentation

Open fervand1 opened this issue 1 year ago • 2 comments

As an end user, it would be nice to also include uninstallation steps in the documentation or on pypi for windows specially if the tool is installed via the script irm https://astral.sh/uv/install.ps1 | iex. On pip it is relatively easy with pip uninstall.

fervand1 avatar Feb 19 '24 14:02 fervand1

Seems reasonable!

zanieb avatar Feb 19 '24 15:02 zanieb

Same issue here 👋

I initially installed uv by running curl -LsSf https://astral.sh/uv/install.sh | sh.

I realized I was behind on versions (v0.1.21) and noticed that uv self update was introduced in v0.1.23.

Since there were no explicit uninstallation instructions, and uv was installed as a standalone binary (not through Cargo, so cargo uninstall uv wasn't an option), I decided to manually uninstall it.

Here’s how I did it:

Clear the cache directory (optional, depending on your setup):

rm -rf $HOME/.cache/uv

Remove the uv binary

rm $HOME/.cargo/bin/uv

Then I ran the same install with curl, and now I have the self update capability. Life is great once again ✨

wQvaale avatar Apr 02 '24 11:04 wQvaale

This seems to be well documented now in https://docs.astral.sh/uv/getting-started/installation/#uninstallation so you might want to close this issue

will-henney avatar Sep 25 '24 00:09 will-henney

Thanks!

zanieb avatar Sep 25 '24 00:09 zanieb