Logesh Paul


rbenv is a version manager tool for the Ruby programming language on Unix-like systems. It is useful for switching between multiple Ruby versions on the same machine and for ensuring that each project
Install via Homebrew
brew install rbenv ruby-build
View list of versions installed
rbenv versions
Set specific version
rbenv local <version-number> # eg. rbenv local 2.7.2
Uninstall version
rbenv uninstall <version-number> # eg. rbenv uninstall 2.7.2
Add the below code to ~/.zshrc to take Ruby using rbenv
eval "$(rbenv init - zsh)"