LinuxCommandLibrary

rvm

rvm

TLDR

Install one or more space-separated versions of Ruby

$ rvm install [version(s)]
copy


Display a list of installed versions
$ rvm list
copy


Use a specific version of Ruby
$ rvm use [version]
copy


Set the default Ruby version
$ rvm --default use [version]
copy


Upgrade a version of Ruby to a new version
$ rvm upgrade [current_version] [new_version]
copy


Uninstall a version of Ruby and keep its sources
$ rvm uninstall [version]
copy


Remove a version of Ruby and its sources
$ rvm remove [version]
copy


Show specific dependencies for your OS
$ rvm requirements
copy

Copied to clipboard