🍺 BREW Explorer

← all formulae

ruby

brew install ruby v4.0.5 Ruby

Ruby 4.0.5: dynamically-typed, object-oriented scripting language interpreter with expressive syntax.

Why you might care

Ruby is widely used for web development (Rails framework), scripting, and rapid prototyping. It prioritizes developer happiness and readability over raw speed, making it ideal for startups and iterative projects. Homebrew's ruby formula is a standard runtime; many developers use language managers (rbenv, rvm) instead for version isolation.

Categories

Alternatives

Python Node.js Perl Lua
54.8k
30-day installs · #116
184.8k
90-day · #112
695.7k
365-day · #96

Runtime dependencies

Build dependencies

Links

Caveats

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.

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [
    "ruby@4",
    "ruby@4.0"
  ],
  "alternatives": [
    "Python",
    "Node.js",
    "Perl",
    "Lua"
  ],
  "build_dependencies": [
    "autoconf",
    "pkgconf",
    "rust"
  ],
  "categories": [
    "interpreter",
    "language-runtime"
  ],
  "caveats": "By default, binaries installed by gem will be placed into:\n  $HOMEBREW_PREFIX/lib/ruby/gems/4.0.0/bin\n\nYou may want to add this to your PATH.\n",
  "conflicts_with": [],
  "dependencies": [
    "libyaml",
    "openssl@3"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Powerful, clean, object-oriented scripting language",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:40:40+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "ruby",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://www.ruby-lang.org/",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": "Ruby Programming Language",
  "installs_30d": 54825,
  "installs_365d": 695708,
  "installs_90d": 184776,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "Ruby",
  "llm_generated_at": "2026-06-20T23:42:49+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "ruby",
  "oldnames": [],
  "one_liner": "Ruby 4.0.5: dynamically-typed, object-oriented scripting language interpreter with expressive syntax.",
  "optional_dependencies": [],
  "rank_30d": 116,
  "rank_365d": 96,
  "rank_90d": 112,
  "raw_hash": "21e0a12f71830e66",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/r/ruby.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [
    "gperf",
    "libffi",
    "libxcrypt"
  ],
  "version_head": "HEAD",
  "version_stable": "4.0.5",
  "versioned_formulae": [
    "ruby@3.4",
    "ruby@3.3",
    "ruby@3.2",
    "ruby@3.1"
  ],
  "why_use_this": "Ruby is widely used for web development (Rails framework), scripting, and rapid prototyping. It prioritizes developer happiness and readability over raw speed, making it ideal for startups and iterative projects. Homebrew\u0027s ruby formula is a standard runtime; many developers use language managers (rbenv, rvm) instead for version isolation."
}