macOS
brew install ammonite-repllocal Homebrew formula metadata
brew
Ammonite is a cleanroom re-implementation of the Scala REPL. Version 3.0.9 via Homebrew; verified from local package data.
install
brew install ammonite-repllocal Homebrew formula metadata
overview
Ammonite is a cleanroom re-implementation of the Scala REPL
history
Ammonite is Li Haoyi's Scala scripting environment and modernized Scala REPL, distributed to command-line users as the `amm` executable. Its official documentation describes it as a way to use Scala interactively or as lightweight scripts without creating a full build project.
The current upstream README and site mark Ammonite as deprecated, pointing Scala scripting users toward Mill single-file scripts and noting that many REPL conveniences have moved into the upstream Scala REPL. That deprecation makes Ammonite historically interesting: it was both a productive standalone tool and a proving ground for features that later influenced the default Scala tooling experience.
The public GitHub repository was created in January 2015 and describes the project as 'Scala Scripting'. The codebase contains the `amm` launcher, REPL and script-runner implementation, a terminal/JLine reimplementation used for interactive editing, integration tests, and Scalatex-generated documentation.
Ammonite's design centered on replacing the rough edges of the stock Scala REPL with syntax highlighting, multiline editing, direct Maven artifact imports, pretty output, and `.sc` script execution. Its documentation frames the goal as freeing small Scala programs from heavyweight projects and avoiding the startup cost of tools such as sbt for quick scripting work.
Release and publishing notes in the upstream README describe stable releases from tagged commits and unstable artifacts from every commit on the main branch. The latest GitHub release observed for this batch is 3.0.9, published in March 2026.
Ammonite became a familiar tool in the Scala command-line ecosystem because it gave Scala developers a batteries-included REPL and script runner before similar comforts were widely available upstream. The official README points users to the Gitter channel, Patreon, and the author's Hands-on Scala material, whose examples make extensive use of Ammonite.
Package-manager adoption reflects that CLI role: the Homebrew formula provides `ammonite-repl` and installs the `amm` executable. Its historical packaging matters because developers commonly reached for Ammonite from a shell, not only as a library dependency.
Users run `amm` to open the REPL or execute `.sc` scripts. Common documented customization points are predef files under `~/.ammonite`, including `predef.sc` for the interactive REPL and `predefScript.sc` for scripts.
Ammonite's package-nerd usage pattern was often 'install one executable, import Maven coordinates inline, and script in Scala'. That made it attractive for one-off automation, exploratory data work, library experiments, and examples where a full sbt project would be slower to create than the code itself.
Ammonite is a useful case study in how an alternate REPL can pressure a language ecosystem: its conveniences eventually became expected behavior, and upstream Scala later absorbed many of them.
For package maintainers, it is also the kind of language tool whose value is in the launcher, cache, and per-user startup files as much as in the compiler integration. Correct packaging gives users a real `amm` command with predictable home-directory behavior.
security posture
generalized runtime or code generation signal.
yellow risk · medium confidence · runtime
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.ammonite/predef.sc~/.ammonite/predefScript.scexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
amm | 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/com-lihaoyi/Ammonite
install metadata
| Package key | brew:ammonite-repl |
|---|---|
| Version | 3.0.9 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/ammonite-repl |
| Homepage | https://ammonite.io/ |
| Repository | https://github.com/com-lihaoyi/Ammonite |
| Upstream docs | https://ammonite.io/ |
| License | MIT |
| Source archive | https://github.com/com-lihaoyi/Ammonite/releases/download/3.0.9/3.3-3.0.9 |
| Dependencies | openjdk |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ammonite-repl |
| Version Scheme | 0 |
| Revision | 0 |
| 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.