Uninstall RVM

If you no longer wish to use RVM, you can uninstall it by first removing the script calls in your .bashrc file and then removing the RVM files.

First, remove the script calls with a text editor like nano:

1~$ nano ~/.bashrc

Scroll down to where you see the RVM lines of your ~/.bashrc file:

1...
2# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
3export PATH="$PATH:$HOME/.rvm/bin"
4Delete the lines, then save and close the file.

Next, remove RVM with the following command:

1~$ rm -rf ~/.rvm