# Install jruby with Homebrew, apk, chocolatey, apt, MacPorts, Nix, pacman, scoop, dnf

Ruby implementation in pure Java. Version 10.1.0.0 via Homebrew; verified 2026-06-22.

## Install

```sh
sudo av install brew:jruby
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install jruby
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install jruby
```

  Evidence: MacPorts ports tree: lang/jruby/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add jruby
```

  Evidence: Alpine Linux edge package indexes: jruby from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install jruby
```

  Evidence: Debian stable package indexes: jruby from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#jruby
```

  Evidence: nixpkgs package indexes: jruby from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S jruby
```

  Evidence: Arch Linux sync databases: jruby from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- dnf (92%):

```sh
sudo dnf install ast
```

  Evidence: Fedora Rawhide package metadata: ast from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install jruby
```

  Evidence: Chocolatey community package catalog: jruby from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='10.8512','kmupd4'

- Scoop (92%):

```sh
scoop install main/jruby
```

  Evidence: Scoop official bucket manifest trees: bucket/jruby.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:jruby
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/jruby>
- **Version:** 10.1.0.0
- **Source summary:** Ruby implementation in pure Java
- **Homepage:** <https://www.jruby.org/>
- **Repository:** <https://github.com/jruby/jruby>
- **Upstream docs:** <https://github.com/jruby/jruby/wiki>
- **License:** EPL-2.0 OR GPL-2.0-only OR LGPL-2.1-only
- **Source archive:** <https://search.maven.org/remotecontent?filepath=org/jruby/jruby-dist/10.1.0.0/jruby-dist-10.1.0.0-src.zip>
- **Last updated:** 2026-06-22T14:03:51-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- ast (cli)
- install_doc (cli)
- jbundle (cli)
- jbundler (cli)
- jerb (cli)
- jgem (cli)
- jirb (cli)
- jirb_swing (cli)
- jminitest (cli)
- jracc (cli)
- jrake (cli)
- jrdoc (cli)
- jri (cli)
- jruby (cli)
- jruby.sh (cli)
- jrubyc (cli)
- jsyntax_suggest (cli)
- jtest-unit (cli)
- lock_jars (cli)
- ast (alias)
- install_doc (alias)
- jbundle (alias)
- jbundler (alias)
- jerb (alias)
- jgem (alias)
- jirb (alias)
- jirb_swing (alias)
- jminitest (alias)
- jracc (alias)
- jrake (alias)
- jrdoc (alias)
- jri (alias)
- jruby (alias)
- jruby.sh (alias)
- jrubyc (alias)
- jsyntax_suggest (alias)
- jtest-unit (alias)
- lock_jars (alias)

## Dependencies

- libfixposix
- openjdk

## Build dependencies

- ant
- maven
- pkgconf
- ruby

## Uses from macOS

- libffi

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 10.1.0.0
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://www.jruby.org/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

JRuby is the long-running Ruby implementation for the Java Virtual Machine. It gives Ruby code access to Java classes, JVM deployment models, Java threading, and JVM tooling while preserving the Ruby language and much of the Ruby ecosystem.

### Project history

JRuby began in 2001 as a Java-hosted Ruby implementation and became one of the canonical examples of a dynamic language on the JVM. The project moved from a direct-port style implementation toward a JVM-oriented runtime with Java integration, bytecode compilation work, and compatibility targets that followed major Ruby language versions.

The project's institutional story is unusually visible for an open-source language runtime. Charles Nutter and Thomas Enebo announced in September 2006 that Sun Microsystems hired them to work on JRuby full time. After Sun, JRuby development continued through Engine Yard and then Red Hat involvement, keeping paid core development behind the runtime for many years.

### Adoption history

JRuby became important during the Ruby on Rails expansion because it made Ruby applications plausible inside Java shops that already standardized on JVM operations. A 2011 JRuby blog post describes the 2006 JavaOne Rails demo as a turning point, at a time when the JVM language conversation centered on projects such as Jython and Groovy.

Package-manager adoption reflects that maturity: JRuby appears across Homebrew, Debian/Ubuntu, Fedora-style distributions, MacPorts, Chocolatey, Scoop, Nix, Arch, and Alpine. For package maintainers it is both a Ruby runtime and a Java application, so packaging has to account for Ruby executables, Java dependencies, and RubyGems-facing commands.

### How it is used

JRuby is used to run Ruby applications on the JVM, embed Ruby scripting into Java systems, call Java libraries from Ruby, and package Ruby applications for environments where the JVM is the operational baseline. Its command set includes JRuby-prefixed versions of common Ruby tools such as gem, irb, rake, rdoc, and ri.

### Why package nerds care

JRuby is package-nerd catnip because it crosses ecosystem boundaries cleanly but not simply: Ruby code, Java bytecode, RubyGems, Maven-style expectations, native extension compatibility, and OS package managers all meet in one runtime. It is also a benchmark case for how language implementations survive outside their reference VM.

### Timeline

- 2001: JRuby project began as a Ruby implementation on the JVM.
- 2006: Sun Microsystems hired Charles Nutter and Thomas Enebo to work on JRuby full time.
- 2006: JRuby demonstrated Rails running on the JVM at JavaOne.
- 2009: JRuby core development moved from Sun to Engine Yard.
- 2012: Nutter and Enebo joined Red Hat to continue JRuby work.
- 2015: JRuby 9.0.0.0 moved the versioning line into Ruby 2.x compatibility.
- 2022: JRuby 9.4.0.0 targeted Ruby 3.1 compatibility.

### Related projects

- Related projects include MRI/CRuby, RubyGems, Rails, Jython, Groovy, TruffleRuby, Rubinius, and JVM dynamic-language work such as invokedynamic.

### Sources

- <https://blog.headius.com/2006/09/jruby-steps-into-sun.html>
- <https://blog.jruby.org/2011/09/bringing-jruby-to-the-cloud>
- <https://formulae.brew.sh/formula/jruby>
- <https://github.com/jruby/jruby>
- <https://github.com/jruby/jruby/wiki/AboutJRuby>
- <https://www.jruby.org/>
- <https://www.jruby.org/documentation>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** jruby
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - jruby - 9.4.8.0+ds-3: normalized package name match | Debian stable package indexes: jruby from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | 100% pure-Java implementation of Ruby | https://jruby.org/
- Nix - jruby: normalized package name match | nixpkgs package indexes: jruby from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - jruby - 9.4.6.0+ds-1ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: jruby from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | 100% pure-Java implementation of Ruby | http://jruby.org/
- apk - jruby - 9.3.15.0-r0: normalized package name match | Alpine Linux edge package indexes: jruby from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | An implementation of Ruby on the JVM | https://www.jruby.org/
- apk - jruby-irb - 9.3.15.0-r0: normalized package name match | Alpine Linux edge package indexes: jruby-irb from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Interactive JRuby console | https://www.jruby.org/
- apk - jruby-libs - 9.3.15.0-r0: normalized package name match | Alpine Linux edge package indexes: jruby-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | JRuby's standard libraries | https://www.jruby.org/
- apk - jruby-rake - 9.3.15.0-r0: normalized package name match | Alpine Linux edge package indexes: jruby-rake from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Ruby based make-like utility. | https://www.jruby.org/
- apk - jruby-rdoc - 9.3.15.0-r0: normalized package name match | Alpine Linux edge package indexes: jruby-rdoc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Ruby documentation tool | https://www.jruby.org/
- apk - jruby-readline - 9.3.15.0-r0: normalized package name match | Alpine Linux edge package indexes: jruby-readline from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Readline support for JRuby | https://www.jruby.org/
- apk - jruby-webrick - 9.3.15.0-r0: normalized package name match | Alpine Linux edge package indexes: jruby-webrick from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | HTTP server toolkit for JRuby | https://www.jruby.org/
- pacman - jruby - 10.1.0.0-1: normalized package name match | Arch Linux sync databases: jruby from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | 100% pure-Java implementation of the Ruby programming language | https://www.jruby.org/
- MacPorts - jruby: normalized package name match | MacPorts ports tree: lang/jruby/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - jruby: normalized package name match | Chocolatey community package catalog: jruby from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='10.8512','kmupd4'
- Scoop - main/jruby: normalized package name match | Scoop official bucket manifest trees: bucket/jruby.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- MacPorts - ast: installed executable or alias match | MacPorts ports tree: science/ast/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- dnf - ast - 9.2.12-4.fc44: installed executable or alias match | Fedora Rawhide package metadata: ast from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A Library for Handling World Coordinate Systems in Astronomy | http://starlink.eao.hawaii.edu/starlink/AST


## Related links

- [Package publisher tools](https://www.automicvault.com/pkg/package-publishers/) - Belongs to a package publishing or registry command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [openjdk](https://www.automicvault.com/pkg/brew/openjdk/) - Runtime dependency declared by Homebrew.
- [ant](https://www.automicvault.com/pkg/brew/ant/) - Build dependency declared by Homebrew.
- [maven](https://www.automicvault.com/pkg/brew/maven/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [ruby](https://www.automicvault.com/pkg/brew/ruby/) - Build dependency declared by Homebrew.
- [gosu](https://www.automicvault.com/pkg/brew/gosu/) - Shares av.db curated category or tags: cli, java, jvm, language-runtime.
- [mruby](https://www.automicvault.com/pkg/brew/mruby/) - Shares av.db curated category or tags: cli, language-runtime, ruby.
- [openj9](https://www.automicvault.com/pkg/brew/openj9/) - Shares av.db curated category or tags: cli, java, jvm, language-runtime.
- [kawa](https://www.automicvault.com/pkg/brew/kawa/) - Shares av.db curated category or tags: cli, jvm, language-runtime.
- [opal](https://www.automicvault.com/pkg/brew/opal/) - Shares av.db curated category or tags: cli, language-runtime, ruby.
- [picoruby](https://www.automicvault.com/pkg/brew/picoruby/) - Shares av.db curated category or tags: cli, language-runtime, ruby.
- [rbenv-aliases](https://www.automicvault.com/pkg/brew/rbenv-aliases/) - Shares av.db curated category or tags: cli, language-runtime, ruby.
- [ruby-build](https://www.automicvault.com/pkg/brew/ruby-build/) - Shares av.db curated category or tags: cli, language-runtime, ruby.
- [jython](https://www.automicvault.com/pkg/brew/jython/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, implementation, java, jvm, language.

## Combined YAML source

View the package source record on GitHub. [combined/jruby.yml](https://github.com/automic-vault/db/blob/main/combined/jruby.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
