Last Updated: February 25, 2016
·
9.84K
· mkoby

Completely Removing RVM

There are times when you might find yourself needing to completely remove RVM from your system. You can easily do so with a few simple commands.

rm -rf ~/.rvm*
sudo rm -rf /etc/rvm*
sudo groupdel rvm

You'll also need to remove the following line from your .bashrc file & reload load BASH

[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function

If you're going from site-wide install back to a single user install, you'll also want to do the following:

sudo rm /etc/profile.d/rvm.sh 
sudo rm /usr/share/ruby-rvm