Forrest logo
tool overview
On this page you find all important commands for the CLI tool rvm. If the command you are looking for is missing please ask our AI.

rvm

RVM, short for Ruby Version Manager, is a command-line tool used primarily for managing Ruby environments. It allows users to easily install, manage, and switch between multiple Ruby versions on a single machine.

With RVM, you can install specific Ruby versions, including different patch levels and implementations, such as MRI, JRuby, or Rubinius. This makes it convenient to work with different projects that may require specific Ruby versions.

RVM provides the ability to create and manage gemsets, which are isolated environments for managing project-specific gem dependencies. This helps ensure that each project uses its own set of gems without conflicts.

You can switch between different Ruby versions and gemsets using simple commands, enabling seamless transitions between projects with different requirements.

RVM also supports the automatic creation of environment files, which store the configuration for each Ruby version and gemset. This makes it easier to manage the environment variables associated with specific projects.

It offers command-line tools to update RVM itself, install additional dependencies, and troubleshoot common problems. This helps keep the tool up-to-date and ensures the smooth functioning of Ruby environments.

RVM supports integration with various text editors and IDEs, which allows developers to utilize its features directly within their preferred development environment.

Additionally, RVM provides support for using custom patch sets, allowing more granular control over Ruby versions and configurations.

RVM supports different platforms, including Linux, macOS, and FreeBSD, making it widely accessible to developers on various operating systems.

Overall, RVM is a versatile command-line tool that simplifies managing multiple Ruby versions, gemsets, and environment variables, making it an essential tool for Ruby developers.

List of commands for rvm:

  • rvm:tldr:48e8c rvm: Install one or more space-separated versions of Ruby.
    $ rvm install ${version(s)}
    try on your machine
    explain this command
  • rvm:tldr:56452 rvm: Remove a version of Ruby and its sources.
    $ rvm remove ${version}
    try on your machine
    explain this command
  • rvm:tldr:913f0 rvm: Set the default Ruby version.
    $ rvm --default use ${version}
    try on your machine
    explain this command
  • rvm:tldr:993d0 rvm: Uninstall a version of Ruby and keep its sources.
    $ rvm uninstall ${version}
    try on your machine
    explain this command
  • rvm:tldr:a4945 rvm: Show specific dependencies for your OS.
    $ rvm requirements
    try on your machine
    explain this command
  • rvm:tldr:ba82b rvm: Display a list of installed versions.
    $ rvm list
    try on your machine
    explain this command
  • rvm:tldr:ddcce rvm: Use a specific version of Ruby.
    $ rvm use ${version}
    try on your machine
    explain this command
tool overview