How do you uninstall Solana CLI?

My Solana install is giving errors on Windows, when running

solana config get

thread 'main' panicked at 'unable to set scheme: ()', cli-config\src\
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I want to try and re-install solana cli completely, to see if that helps. But it looks like that’s not documented, and the default commands that I can think of don’t do anything either.

Does anyone know how to do this? :’)

I’m not 100% sure this is a complete uninstall of Soalan, but from, from what I’ve found so far, if you are on Linux, Solana stores its file in the following folders, wich you can remove to uninstall. Beware of deleting your wallet config if you don’t have it written down or stored elsewhere!

  • $HOME/.local/share/solana
  • $HOME/.config/solana
  • $HOME/.cache/solana
1 Like