snippetbashTip
rbenv — Easily install Ruby versions and manage application environments. See also: `asdf`. More information
Viewed 0 times
rubycommandandinstallversionsclieasilyrbenv
Problem
How to use the
rbenv command: Easily install Ruby versions and manage application environments. See also: asdf. More information: <https://manned.org/rbenv>.Solution
rbenv — Easily install Ruby versions and manage application environments. See also: asdf. More information: <https://manned.org/rbenv>.Install a Ruby version:
rbenv install {{version}}Display a list of the latest stable versions for each Ruby:
rbenv install --listDisplay a list of installed Ruby versions:
rbenv versionsUse 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 versionUninstall a Ruby version:
rbenv uninstall {{version}}Display all Ruby versions that contain the specified executable:
rbenv whence {{executable}}Code Snippets
Install a Ruby version
rbenv install {{version}}Display a list of the latest stable versions for each Ruby
rbenv install --listDisplay a list of installed Ruby versions
rbenv versionsUse a specific Ruby version across the whole system
rbenv global {{version}}Use a specific Ruby version for an application/project directory
rbenv local {{version}}Context
tldr-pages: common/rbenv
Revisions (0)
No revisions yet.