volta icon indicating copy to clipboard operation
volta copied to clipboard

unable to uninstall node

Open wzlstudy opened this issue 10 months ago • 1 comments

i want to uninstall [email protected],but con't

Image

wzlstudy avatar Feb 28 '25 14:02 wzlstudy

It's currently impossible to delete Node, Yarn, or any other package manager via Volta.

Details: https://github.com/volta-cli/volta/issues/330

Instead, you could do the following as a workaround:

  1. List your installed Node versions via Volta: ls -la ~/.volta/tools/image/node
  2. Delete the one you want to uninstall: rm -rd ~/.volta/tools/image/node/<NODE_VERSION> --> e.g. rm -rd ~/.volta/tools/image/node/10.24.1

hci2 avatar Mar 27 '25 10:03 hci2