rbenv

rbenv

TLDR

Install a Ruby version

$ rbenv install [version]
copy

Display a list of the latest stable versions for each Ruby

$ rbenv install --list
copy

Display a list of installed Ruby versions

$ rbenv versions
copy

Use a specific Ruby version across the whole system

$ rbenv global [version]
copy

Use a specific Ruby version for an application/project directory

$ rbenv local [version]
copy

Display the currently selected Ruby version

$ rbenv version
copy

Uninstall a Ruby version

$ rbenv uninstall [version]
copy

Display all Ruby versions that contain the specified executable

$ rbenv whence [executable]
copy

Copied to clipboard
sandbox