Forrest logo
back to the rvm tool

rvm:tldr:ba82b

rvm: Display a list of installed versions.
$ rvm list
try on your machine

The rvm list command is used in Ruby Version Manager (RVM) to display a list of installed Ruby versions on your system.

When you run rvm list, it queries RVM to retrieve information about the Ruby installations present in your system. It will typically display output similar to the following:

=* ruby-2.7.2 [ x86_64 ]
   ruby-3.0.0 [ x86_64 ]
   ruby-2.6.6 [ x86_64 ]
   ruby-2.5.8 [ x86_64 ]

The list begins with an asterisk (*) on the current Ruby version that is actively being used, followed by a list of other installed Ruby versions. In the above example, the current version is ruby-2.7.2, and there are three other versions installed on the system.

This command is useful for quickly checking the Ruby versions available on your machine, especially if you have multiple versions installed using RVM. It helps you identify which Ruby version you are currently using or switch to another version if needed.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the rvm tool