ruby

Popular
Formula Utilities v4.0.7

Powerful, clean, object-oriented scripting language

About

Install ruby on macOS with Homebrew Formula using `brew install ruby`. ruby is a Utilities command-line package with version 4.0.7. The package is listed in homebrew/core.

Install 1 App in Terminal
$
brew install ruby
Source: homebrew/core Website Homebrew

Dependencies

Build Dependencies

Installation Notes

By default, binaries installed by gem will be placed into:
  $HOMEBREW_PREFIX/lib/ruby/gems/4.0.0/bin

You may want to add this to your PATH.

Official Homebrew Stats

Install activity metrics for ruby.

-35.5% vs 90d avg
30 Days
28.7K total installs
956 installs / day avg
90 Days
133.4K total installs
1.5K installs / day avg
1 Year
659.8K total installs
1.8K installs / day avg

Frequently asked questions

How do I install ruby with Homebrew?

Run brew install ruby in Terminal to install ruby as a Homebrew formula on macOS.

What kind of package is ruby?

ruby is a Utilities Homebrew formula and FastBrew currently shows version 4.0.7.

What should I review before installing ruby?

Review the runtime dependencies (libyaml, openssl@3) and build dependencies (pkgconf, rust) along with any caveats before installing.

Related Utilities Apps

View all

xz

Popular

General-purpose data compression with high compression ratio

python@3.14

Popular

Interpreted, interactive, object-oriented programming language

gh

Popular

GitHub command-line tool

zstd

Popular

Zstandard is a real-time compression algorithm

readline

Popular

Library for command-line editing

glib

Popular

Core application library for C