Forrest logo
back to the rbenv tool

rbenv:tldr:e7adb

rbenv: Uninstall a Ruby version.
$ rbenv uninstall ${version}
try on your machine

The command "rbenv uninstall ${version}" is used to uninstall a specific version of Ruby using the rbenv version manager.

In this command, ${version} needs to be replaced with the actual version number of Ruby you want to uninstall. For example, if you want to uninstall Ruby version 2.6.6, you would replace ${version} with 2.6.6.

When you run this command, rbenv will locate the specified version of Ruby installed on your system and remove it completely, including all associated files and directories.

It's important to note that uninstalling a specific version of Ruby will not affect other versions of Ruby installed on your system. You can use the "rbenv versions" command to see all the installed Ruby versions and verify that the version you intended to uninstall is no longer present.

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 rbenv tool