Forrest logo
back to the rvm tool

rvm:tldr:993d0

rvm: Uninstall a version of Ruby and keep its sources.
$ rvm uninstall ${version}
try on your machine

The command rvm uninstall ${version} is used to uninstall a specific version of Ruby that is managed by RVM (Ruby Version Manager).

Here's what each component of the command means:

  • rvm: It refers to the RVM command-line tool, which is used for managing Ruby environments on your system.

  • uninstall: It is a subcommand of rvm and is used to remove an installed version of Ruby.

  • ${version}: This is a placeholder for the specific version of Ruby you want to uninstall. You need to replace ${version} with the actual version number you wish to uninstall. For example, if you want to uninstall Ruby 2.7.2, the command will be rvm uninstall 2.7.2.

By executing rvm uninstall ${version}, RVM will remove the specified Ruby version and all its associated files from your system, including gems, executables, and configuration files. It is a way to clean up and manage your installed Ruby versions.

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