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 you are working on always runs on the correct Ruby version.
For more information, see github.com/rbenv/rbenv
To install rbenv and ruby-build on a system with either Homebrew or git, paste this into your terminal:
curl -fsSL https://rbenv.org/install.sh | bash
Thank you Sam Stephenson (the original creator of rbenv) and to hundreds of rbenv and ruby-build contributors ❤️