1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 10:22:08 +02:00
tldr/pages/common/rbenv.md
Vitor Henrique c8f956319f
pages*: simplify page description (#12149)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-02-14 21:25:13 +01:00

762 B

rbenv

Easily install Ruby versions and manage application environments. See also: asdf. More information: https://github.com/rbenv/rbenv.

  • Install a Ruby version:

rbenv install {{version}}

  • Display a list of the latest stable versions for each Ruby:

rbenv install --list

  • Display a list of installed Ruby versions:

rbenv versions

  • Use a specific Ruby version across the whole system:

rbenv global {{version}}

  • Use a specific Ruby version for an application/project directory:

rbenv local {{version}}

  • Display the currently selected Ruby version:

rbenv version

  • Uninstall a Ruby version:

rbenv uninstall {{version}}

  • Display all Ruby versions that contain the specified executable:

rbenv whence {{executable}}