I am getting rvm: command not found after installation of rvm

Steps to try out:

  1. Log out and login to your system.

  2. Open a new terminal and manually run

source $HOME/.rvm/scripts/rvm

then

rvm

Check these work-arounds.

Update:

To avoid running

source $HOME/.rvm/scripts/rvm

every time you open a terminal, include this line into ~/.MacOSX/environment in your Mac (This is similar to ~/.bashrc in GNU/Linux-based systems under $home aka ~ directory).


In my case, i am using Ubuntu Bash in Windows 10 and to fix the problem i used:

source /usr/local/rvm/scripts/rvm