Skip to main content

Install Ruby Version Manager (RVM) on Mac

Published: 2019-10-19

  1. Install Homebrew
  2. Install GPG

    brew install gpg
  3. Import RVM keys into GPG

    curl -sSL | gpg --import -
    curl -sSL | gpg --import -
  4. Trust RVM keys with GPG

    echo 409B6B1796C275462A1703113804BB82D39DC0E3:6: | gpg --import-ownertrust
    echo 7D2BAF1CF37B13E2069D6956105BD0E739499BDB:6: | gpg --import-ownertrust
  5. Install RVM

    \curl -sSL | bash -s -- --ignore-dotfiles
  6. To source RVM, add this line to your bash config file, e.g. ~/.bash_profile

    source $HOME/.rvm/scripts/rvm
  7. Source bash config file

    source ~/.bash_profile
  8. Confirm installation

    rvm --version

See RVM CLI docs for how to manage different versions of Ruby.