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 self-uninstall command #84

Open
patrickfreed opened this issue Nov 15, 2023 · 3 comments
Open

Add self-uninstall command #84

patrickfreed opened this issue Nov 15, 2023 · 3 comments

Comments

@patrickfreed
Copy link
Contributor

We should make it easy to cleanly uninstall swiftly in case a user no longer needs it on their system.

@amirsaam
Copy link

amirsaam commented Jun 5, 2024

while that pr is merged but still there is no way to uninstall swiftly itself, how can we uninstall it completely?

@patrickfreed
Copy link
Contributor Author

I think the best way right now would be the following:

$ swiftly uninstall all
$ rm -r ~/.local/share/swiftly
$ rm ~/.local/bin/swiftly

This is assuming you've installed to the default location.
You may also want to delete any swiftly-specific lines from your .profile, .bash_profile, .bash_login, or .zprofile, if there are any in any of those files.

@carlynorama
Copy link

Note, when going from 0.2.0 -> 0.3.0 one may get into trouble if one hasn't uninstalled all / removed all the symlinks

find ~/.local/bin/ -maxdepth 1 -type l 
find ~/.local/bin/ -maxdepth 1 -type l -delete

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

No branches or pull requests

3 participants