Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add uv self uninstall command #9871

Open
alexklavensnyt opened this issue Dec 13, 2024 · 6 comments · May be fixed by #11613
Open

Add uv self uninstall command #9871

alexklavensnyt opened this issue Dec 13, 2024 · 6 comments · May be fixed by #11613
Labels
cli Related to the command line interface help wanted Contribution especially encouraged

Comments

@alexklavensnyt
Copy link

Uninstalling uv feels a bit hacky.

Two suggested improvements:

  1. An official uninstallation script (similar to the standalone installer), or uv self uninstall.
  2. If neither are realistic, improve the documentation for the manual uninstall. The current instructions first mention removing the binaries, and then mention a suggestion for removing stored data. The recommended data removal process involves uv commands that will no longer be available if the binaries are gone 😄.

Thanks!

zanieb pushed a commit that referenced this issue Dec 16, 2024
See #9871

> The current instructions first mention removing the binaries, and then
mention a suggestion for removing stored data. The recommended data
removal process involves uv commands that will no longer be available if
the binaries are gone 😄.

I've edited the uninstallation docs to first suggest removing stored
data before removing the uv and uvx binaries.

<img
src="https://github.com/user-attachments/assets/526fcdb3-4fd2-4e04-b895-810cb826aa11"
width="600"/>
@zanieb zanieb changed the title Clarify or improve uninstallation process Add uv self uninstall command Jan 6, 2025
@zanieb zanieb added help wanted Contribution especially encouraged cli Related to the command line interface labels Jan 6, 2025
@zanieb
Copy link
Member

zanieb commented Jan 6, 2025

This should be pretty easy, if someone wants to take on the command. The documentation was improved in #9938

@zanieb
Copy link
Member

zanieb commented Jan 6, 2025

We'll probably want a flag to keep / remove data.

@zmievsa
Copy link

zmievsa commented Feb 16, 2025

I will take this if everyone's OK with it

@zanieb
Copy link
Member

zanieb commented Feb 16, 2025

@zmievsa Go for it!

loic-lescoat pushed a commit to loic-lescoat/uv that referenced this issue Feb 19, 2025
loic-lescoat pushed a commit to loic-lescoat/uv that referenced this issue Feb 19, 2025
@loic-lescoat loic-lescoat linked a pull request Feb 19, 2025 that will close this issue
@loic-lescoat
Copy link

@zmievsa I am mostly done with implementing this in #11613; would you like to contribute there?

@zmievsa
Copy link

zmievsa commented Feb 19, 2025

@loic-lescoat no worries, you can just proceed with your implementation. I'm happy as long as problem is solved :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Related to the command line interface help wanted Contribution especially encouraged
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants