HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

rvm — Easily installing, managing, and working with multiple ruby environments. More information: <https:/

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandandclieasilymanagingworkingrvminstalling

Problem

How to use the rvm command: Easily installing, managing, and working with multiple ruby environments. More information: <https://rvm.io/rvm/cli>.

Solution

rvm — Easily installing, managing, and working with multiple ruby environments. More information: <https://rvm.io/rvm/cli>.

Install one or more versions of Ruby:
rvm install {{version1 version2 ...}}


Display a list of installed versions:
rvm list


Use a specific version of Ruby:
rvm use {{version}}


Set the default Ruby version:
rvm --default use {{version}}


Upgrade a version of Ruby to a new version:
rvm upgrade {{current_version}} {{new_version}}


Uninstall a version of Ruby and keep its sources:
rvm uninstall {{version}}


Remove a version of Ruby and its sources:
rvm remove {{version}}


Show specific dependencies for your OS:
rvm requirements

Code Snippets

Install one or more versions of Ruby

rvm install {{version1 version2 ...}}

Display a list of installed versions

rvm list

Use a specific version of Ruby

rvm use {{version}}

Set the default Ruby version

rvm --default use {{version}}

Upgrade a version of Ruby to a new version

rvm upgrade {{current_version}} {{new_version}}

Context

tldr-pages: common/rvm

Revisions (0)

No revisions yet.