Forrest logo
back to the rvm tool

rvm:tldr:56452

rvm: Remove a version of Ruby and its sources.
$ rvm remove ${version}
try on your machine

The command "rvm remove ${version}" is used to remove a specific version of Ruby from your system.

Here is an explanation of each part of the command:

  • "rvm" stands for Ruby Version Manager, which is a tool used to manage multiple Ruby environments.
  • "remove" is the sub-command that specifies the action to be performed, which is the removal of a Ruby version.
  • "${version}" is a placeholder that represents the specific version of Ruby you want to remove. You need to replace it with the actual version number or alias, such as "2.7.2" or "ruby-3.0.1".

For example, if you want to remove the Ruby version 2.7.2, you would execute the command "rvm remove 2.7.2". This will uninstall that version from your system, deleting all associated files and gems.

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