In this tutorial, I will show you how to uninstall rvm / implode rvm on mac. Sometimes rvm created an issue or its broken you can reinstall it completely.
RVM is a command-line tool which allows you to easily install, manage, and work with multiple ruby environments from interpreters to sets of gems.
Read Also: How to install ruby using rbenv
Uninstall RVM / Implode RVM
You can use the following command to remove rvm/ implode rvm.
~ rvm implode Are you SURE you wish for rvm to implode? This will recursively remove /usr/local/rvm and other rvm traces? (anything other than 'yes' will cancel) > yes Removing rvm-shipped binaries (rvm-prompt, rvm, rvm-sudo rvm-shell and rvm-auto-ruby) Removing rvm wrappers in /usr/local/rvm/bin Hai! Removing /usr/local/rvm /usr/local/rvm has been removed. Note you may need to manually remove /etc/rvmrc and ~/.rvmrc if they exist still. Please check all .bashrc .bash_profile .profile and .zshrc for RVM source lines and delete or comment out if this was a Per-User installation. Also make sure to remove `rvm` group if this was a system installation. Finally it might help to relogin / restart if you want to have fresh environment (like for installing RVM again).
You have successfully uninstalled rvm from mac.
If you want to install rvm again you can use the following article.
If you have any issue please feel free to comment below.