macOS
brew install picorubylocal Homebrew formula metadata
brew / rank 7957
Smallest Ruby implementation for microcontrollers. Version 4.0.5 via Homebrew; verified 2026-09-29.
install
brew install picorubylocal Homebrew formula metadata
overview
Smallest Ruby implementation for microcontrollers
history
PicoRuby is a small Ruby implementation and embedded platform intended for one-chip microcontrollers, with host tools for compiling and executing compatible Ruby code.
HASUMI Hitoshi and contributors began PicoRuby around 2020 as an alternative mruby implementation for one-chip microcontrollers. It depends on a small C-library surface and targets boards including Raspberry Pi Pico and Pico 2 W.
The project combines an mruby-compatible bytecode compiler, a host interpreter, and R2P2 components for embedded use. From version 4.x, the actively developed mruby-VM artifact formerly called MicroRuby became PicoRuby, while the mruby/c-VM artifact formerly called PicoRuby became FemtoRuby.
PicoRuby has been used as the runtime foundation for R2P2 on Raspberry Pi Pico boards, an ESP32 port, a WebAssembly runtime, and PRK keyboard firmware. Homebrew also packages its host-side interpreter, compiler, and R2P2 executable.
Development received support from the Ruby Association Grant Program in 2020 and 2021. The official project organization describes the work as mentored by Ruby creator Yukihiro Matsumoto.
Host users run `picoruby` to execute Ruby source, compile Ruby to mruby-compatible bytecode with the compiler, or use the `r2p2` executable. Embedded users select a board build configuration and build firmware containing the runtime and desired peripheral-facing gems.
PicoRuby brings a Ruby interpreter and bytecode workflow into memory ranges associated with one-chip microcontrollers. It gives package users a host-side compiler and interpreter while serving firmware builders who want Ruby syntax, peripheral APIs, and an interactive shell on constrained boards.
Its evolving names matter when reading older packages and examples: in the 4.x line, the mruby-based artifact took the PicoRuby name, while the earlier mruby/c-based PicoRuby lineage became FemtoRuby.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
picoruby | cli | global executable | |
r2p2 | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/picoruby/picoruby
install metadata
| Package key | brew:picoruby |
|---|---|
| Version | 4.0.5 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/picoruby |
| Homepage | https://picoruby.org |
| Repository | https://github.com/picoruby/picoruby |
| Upstream docs | https://picoruby.org |
| License | MIT |
| Source archive | https://github.com/picoruby/picoruby.git |
| Last updated | 2026-09-29T12:44:16Z |
| Pulse | updated |
| Dependencies | openssl@4 |
| Build dependencies | ruby |
| Bottle | available (on arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | picoruby |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.