Make sure to install optional step 5 in the instructions:

git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build

Install ruby-build, which provides the rbenv install command that simplifies the process of installing new Ruby versions.

Answer from Alberto Artasanchez on Stack Overflow
🌐
GitHub
github.com › rbenv › rbenv › issues › 613
rbenv: no such command `install' · Issue #613 · rbenv/rbenv
August 18, 2014 - I did a simple install from the latest github install on ElementaryOS. While running the following #rbenv install -l rbenv: no such command `install' How do I fix this? Why is the install comma...
Author   TeckniX
Discussions

Unable to install versions of Ruby with rbenv (build failure)
Requirements I have Searched the forum for my issue and found nothing related or helpful I have checked the Resources category (Resources Index) I have reviewed the Wiki for relevant information I have read the the Release Notes and Errata OpenMandriva Lx version OpenMandriva Lx release 6.0 ... More on forum.openmandriva.org
🌐 forum.openmandriva.org
1
0
October 10, 2025
install ruby 3.2.0 rbenv/1.1.2/libexec/rbenv: No such file or directory
brew --version Homebrew 4.2.8 rbenv ... command -v bundle /Users/astm/.rbenv/shims/bundle ... ruby -v /Users/astm/.rbenv/shims/ruby: line 21: /usr/local/Cellar/rbenv/1.1.2/libexec/rbenv: No such file or directory bundle -v /Users/astm/.rbenv/shims/bundle: line 21: /usr/local/Cellar/rbenv/1.1.2/libexec/rbenv: No such file or directory gem install bundler ... More on github.com
🌐 github.com
0
February 19, 2024
rbenv doesn't find ruby-build plugin if installed in /opt
# rbenv install -l rbenv: no such command `install' More on github.com
🌐 github.com
2
December 8, 2015
Using fish, I get "rbenv: no such command `install'"
When I use fish, install command is not available. Below is the terminal output. [I] /home/sporty~> type rbenv rbenv is a function with definition function rbenv set command $argv[1] set -e argv... More on github.com
🌐 github.com
2
March 14, 2017
🌐
GitHub
github.com › rbenv › rbenv › issues › 749
rbenv: no such command `install' · Issue #749 · rbenv/rbenv
June 16, 2015 - Trying to install ruby using rbenv install 2.2.2 rbenv global 2.2.2 Ends with: rbenv: no such command `install' When trying to install rbenv I get this error: Warning: rbenv-0.4.0 already installed ==> Installing dependencies for ruby-bu...
Author   bryan1anderson
🌐
Medium
medium.com › @patrickyong_15028 › rbenv-in-mac-os-not-working-a13cd97fe4d3
rbenv in Mac OS not working?. The last time I used Ruby or Rails… | by Patrick Yong | Medium
August 7, 2022 - Such that in future if I want to have multiple version of Ruby on my Mac I can switch around easily with rbenv · I managed to get rbenv installed without problem via brew install rbenv · Next thing I do is to see whether rbenv knows my existing Ruby by typing rbenv versions and the only version listed is system · Before I try to install the latest Ruby 3.1.2 on my system, I initialised rbenv using the command rbenv init When it is done I try install the new Ruby version with the command rbenv install 3.1.2 then run rbenv versionsagain to make sure now I have 2 entries on the versions of Ruby on my Mac.
🌐
DigitalOcean
digitalocean.com › community › tutorials › how-to-install-ruby-on-rails-with-rbenv-on-macos
How To Install Ruby on Rails with rbenv on macOS | DigitalOcean
December 1, 2022 - A few Rails features, such as the Asset Pipeline, depend on a JavaScript Runtime. Node.js provides this functionality. The Homebrew package manager installed on your macOS machine. In this step, you will install rbenv and make sure that it starts automatically at boot. To do this on macOS, this tutorial will use the package manager Homebrew. To download the rbenv package with Homebrew, run the following command...
🌐
GitHub
github.com › rbenv › rbenv › issues › 1553
install ruby 3.2.0 rbenv/1.1.2/libexec/rbenv: No such file or directory · Issue #1553 · rbenv/rbenv
February 19, 2024 - brew --version Homebrew 4.2.8 rbenv --version rbenv 1.2.0 rbenv local 3.2.0 rbenv global 3.2.0 command -v ruby /Users/astm/.rbenv/shims/ruby command -v bundle /Users/astm/.rbenv/shims/bundle ... ruby -v /Users/astm/.rbenv/shims/ruby: line 21: /usr/local/Cellar/rbenv/1.1.2/libexec/rbenv: No such file or directory bundle -v /Users/astm/.rbenv/shims/bundle: line 21: /usr/local/Cellar/rbenv/1.1.2/libexec/rbenv: No such file or directory gem install bundler /Users/astm/.rbenv/shims/gem: line 21: /usr/local/Cellar/rbenv/1.1.2/libexec/rbenv: No such file or directory gem install rails /Users/astm/.rb
Author   AstmDesign
Find elsewhere
🌐
Better Stack
betterstack.com › community › guides › scaling-ruby › rbenv-explained
Getting Started with rbenv | Better Stack Community
September 30, 2025 - While rbenv manages version switching, ruby-build provides the actual installation capability through the rbenv install command: ... With ruby-build installed as a plugin, rbenv gains the ability to compile and install Ruby versions directly from source. ... This output confirms rbenv is installed and accessible. You're now ready to start managing Ruby versions.
🌐
Ask Ubuntu
askubuntu.com › questions › 1286621 › command-ruby-not-found-after-successful-installation-using-rbenv-on-ubuntu-20
Command 'ruby' not found after successful installation using rbenv on Ubuntu 20.04 - Ask Ubuntu
October 24, 2020 - Command 'ruby' not found, but can be installed with: sudo snap install ruby # version 2.7.2, or sudo apt install ruby # version 1:2.7+1 See 'snap info ruby' for additional versions. I have tried reinstalling ruby using the same procedure but to no avail. I have also tried searching for similar questions but the ones I found were for installing ruby using rvm whereas in my own case, I am using rbenv.
🌐
GitHub
github.com › rbenv › rbenv › issues › 980
Using fish, I get "rbenv: no such command `install'" · Issue #980 · rbenv/rbenv
March 14, 2017 - [I] /home/sporty~> type rbenv rbenv is a function with definition function rbenv set command $argv[1] set -e argv[1] switch "$command" case rehash shell source (rbenv "sh-$command" $argv|psub) case '*' command rbenv "$command" $argv end end [I] /home/sporty~> rbenv --version rbenv 1.1.0-2-g4f8925a [I] /home/sporty~> rbenv commands commands completions exec global help hooks init local prefix realpath.dylib rehash root shell shims version --version version-file version-file-read version-file-write version-name version-origin versions whence which [I] /home/sporty~> rbenv install -l rbenv: no such command `install' [I] /home/sporty~> ruby -v ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]
Author   sittim
🌐
Server Fault
serverfault.com › questions › 748116 › installing-ruby-1-9-3-p194-using-rbenv-on-centos-6-7
centos6 - installing ruby 1.9.3-p194 using rbenv on centos 6.7 - Server Fault
Thanks, but I've already installed all of the required packages for centos to for rbenv and ruby-build to run. When i try to reinstall it's noted they are already installed. And the link to the patch how does this apply to 1.9.3-p194? ... Apparently this is a known issue with the openssl headers and certain operating systems. I ran the following command for a successful build merging a patch in.
🌐
Qiita
qiita.com › ruby
rbenv: no such command `install'エラー #Ruby - Qiita
October 13, 2014 - $ rbenv install -l rbenv: no such command `install' Homebrewでruby-buildの再インストール。 · $ brew uninstall ruby-build Uninstalling /usr/local/Cellar/ruby-build/HEAD...
🌐
X
x.com › qiita_milestone › status › 1780436020825043084
rbenv: no such command `install' と ...
rbenv: no such command `install' となってinstallできない時の対処 - Qiita
🌐
SDKMAN!
sdkman.io
Home | SDKMAN! the Software Development Kit Manager
Formerly known as GVM, the Groovy ... RVM, and rbenv and even Git. Think of it as your helpful toolkit friend, ready to streamline SDK management for you. 🛠️ · Get started now! Go on then, paste and run the following in a terminal: ... Simplifying life. No more hunting for downloads, extracting archives, or tinkering with HOME and PATH environment variables. Install Software Development Kits for the JVM such as Java, Scala, ...
🌐
BigBinary Academy
courses.bigbinaryacademy.com › learn-rubyonrails › dealing-with-errors
Dealing with errors - Learn Ruby on Rails | BigBinary Academy
In this chapter, we will take a look at some common errors that occur during Rails development and how to fix these errors ## rbenv path not added If the `rbenv` path is not added in the `.zshrc` config file then the following error can appear:
🌐
Reddit
reddit.com › r/ruby › how can i install an rbenv version specified by a .ruby-version file
r/ruby on Reddit: How can I install an Rbenv version specified by a .ruby-version file
March 23, 2020 -

In the root directory of my Rails project, I have a .ruby-version file with this line inside:

2.2.4@my-project

I can't do anything in terminal, such as run the rails server, because I get this error after any command I run:

rbenv: version `2.2.4@my-project' is not installed (set by /Users/garcia/dev/projects/my-project/.ruby-version)

How can I install this version, with what I'm assuming is a gemset, using rbenv?

🌐
Moncef Belyamani
moncefbelyamani.com › how-to-install-xcode-homebrew-git-rvm-ruby-on-mac
The fastest and easiest way to install Ruby on a Mac in 2026
March 17, 2026 - Ruby managers are not compatible with one another, so if you have RVM, rbenv, asdf, mise, or frum, I recommend uninstalling them. With Ruby on Mac Ultimate, you can choose your preferred manager, and update your preference at any time.