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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot uninstall yarn #1431

Closed
ontoneio opened this issue Jan 26, 2023 · 3 comments
Closed

Cannot uninstall yarn #1431

ontoneio opened this issue Jan 26, 2023 · 3 comments

Comments

@ontoneio
Copy link

I was needing yarn right quick for a project inspection and then I was going to uninstall.
To my surprise I was met with this message from volta.
error: Uninstalling yarn is not supported yet.

Hopefully this isn't intentional. 馃ゲ

Thanks!

@charlespierce
Copy link
Contributor

Hi @ontoneio, for the special-cased tools like npm, node, and yarn, with Volta's model, the action uninstall is actually poorly named. It's probably closer to clearing a cache, since Volta will always re-download a tool if it's needed. Due to that, we haven't yet implemented the cache cleaning operation. We do have an issue tracking this already: #330

Please track issue for updates!

@fev4
Copy link

fev4 commented Feb 24, 2023

Ran into this as well!

Even when I remove all files for yarn inside ~/.volta using for example:

find ~/.volta -name yarn -delete

It auto-installs with yarn --version.

@alissawix
Copy link

so, if I have volta there is no way that I can remove yarn from my computer without removing volta?
basically all I need is to remove yarn from the Path

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

4 participants