tophat / yvm

🧶 Manage multiple versions of Yarn (deprecated)
https://yvm.js.org
Apache License 2.0
313 stars 16 forks source link

How to uninstall yvm? #1009

Closed luciomartinez closed 2 years ago

luciomartinez commented 2 years ago

I tried with the following but didn't work:

% brew rm yvm
Error: No available formula or cask with the name "yvm". Did you mean nvm or dvm?
% brew rm tophat/bar/yvm
Error: No available formula or cask with the name "tophat/bar/yvm".
Please tap it and then try again: brew tap tophat/bar

The --help command shows these two options but none of them seems to uninstall the package:

deactivate                          Undo effects of `yvm` on current shell
unload                              Unload `yvm` from shell
noahnu commented 2 years ago

It depends on how you installed it. If you used the install script rather than brew, you can first run yvm unload and then rm -rf ~/.yvm.

luciomartinez commented 2 years ago

That did the trick! I've also followed the steps at the Readme's remove. Thank you