How to install Ruby on macOS using RVM
In this article, I’m going to show you how to install Ruby with RVM on a macOS machine. You’ll also learn how to install a specific version.
RVM stands for Ruby Version Manager. It allows you to easily install, manage, and work with multiple ruby environments.
Run the commands below to install RVM.
Installing a Specific Version
You may install a specific version with the command below:
You may list all versions installed on your machine with the command below:
Using a Specific Version
To switch to a specific version, run the command below:
Set a Specific Version as default
To set a specific version as your default version, run the command below: