ruby-install
brew install ruby-install
v0.10.2
MIT
Install Ruby, JRuby, Rubinius, TruffleRuby, or mruby
855
30-day installs · #1383
3.1k
90-day · #1330
16.8k
365-day · #1152
2.0k
★ GitHub stars · updated 7mo ago
Runtime dependencies
GitHub topics
bash-script
bash-utility
installer
jruby
mruby
rubies
ruby
ruby-builder
ruby-install
ruby-installer
truffleruby
Links
- https://github.com/postmodern/ruby-install
- GitHub: postmodern/ruby-install
- Brew formula source: Formula/r/ruby-install.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [
"xz"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Install Ruby, JRuby, Rubinius, TruffleRuby, or mruby",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:41:28+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "ruby-install",
"github_default_branch": "master",
"github_last_commit_at": "2026-01-14T01:32:41Z",
"github_readme_excerpt": "# ruby-install\n\nInstalls [Ruby], [JRuby], [TruffleRuby] (native / GraalVM), or [mruby].\n\n## Features\n\n* Supports downloading the latest versions and checksums from [ruby-versions].\n* Supports installing into `/opt/rubies/` for root and `~/.rubies/` for users\n by default.\n* Supports installing into arbitrary directories.\n* Supports downloading from arbitrary URLs.\n* Supports downloading from mirrors.\n* Supports downloading/applying patches.\n* Supports passing in arbitrary `./configure` options.\n* Supports downloading archives using `wget` or `curl`.\n* Supports verifying downloaded archives via MD5, SHA1, SHA256 or SHA512\n checksums.\n* Supports installing build dependencies from the package manager\n ([apt], [dnf], [yum], [pacman], [zypper], [xbps], [brew], [macports], and\n [pkg]).\n* Supports many different OSes:\n * Linux\n * [Ubuntu]\n * [Debian]\n * [Fedora]\n * [OpenSUSE]\n * [Arch Linux]\n * [Void Linux]\n * [macOS]\n * [FreeBSD]\n* Has unit tests.\n\n## Anti-Features\n\n* Does not require upgrading every time a new Ruby version comes out.\n* Does not require recipes for each individual Ruby version or configuration.\n* Does not support installing trunk/HEAD or nightly rolling releases.\n* Does not support installing unsupported/unmaintained versions of Ruby.\n\n## Requirements\n\n* [bash] \u003e= 3.x\n* `grep`\n* [wget] \u003e 1.12 or [curl]\n* `md5sum` or `md5`\n* `sha1sum` or `sha1`\n* `sha256sum` or `sha256`\n* `sha512sum` or `sha512`\n* `tar`\n* `bzip2`\n* `xz`\n* `patch` (if `--patch` is specified)\n* [gcc] \u003e= 4.2 or [clang]\n\n## Synopsis\n\nList supported Rubies and their current stable versions:\n\n```shell\n$ ruby-install\n```\n\nUpdates then list the supported Rubies and their current stable versions:\n\n```shell\n$ ruby-install --update\n```\n\nInstall the current stable version of Ruby:\n\n```shell\n$ ruby-install ruby\n```\n\nInstall the latest version of Ruby:\n\n```shell\n$ ruby-install --update ruby\n```\n\nInstall a stable version of Ruby:\n\n```shell\n$ ruby-install ruby 3.1\n```\n\nInstall a sp",
"github_repo": "postmodern/ruby-install",
"github_stars": 1969,
"github_topics": [
"bash-script",
"bash-utility",
"installer",
"jruby",
"mruby",
"rubies",
"ruby",
"ruby-builder",
"ruby-install",
"ruby-installer",
"truffleruby"
],
"homepage": "https://github.com/postmodern/ruby-install",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 855,
"installs_365d": 16789,
"installs_90d": 3110,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "MIT",
"llm_generated_at": null,
"llm_model": null,
"name": "ruby-install",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 1383,
"rank_365d": 1152,
"rank_90d": 1330,
"raw_hash": "5d839ecac434a0a2",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/r/ruby-install.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "0.10.2",
"versioned_formulae": [],
"why_use_this": null
}