Automic VaultAutomic Vault

brew

Install ammonite-repl with Homebrew

Ammonite is a cleanroom re-implementation of the Scala REPL. Version 3.0.9 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install ammonite-repl

local Homebrew formula metadata

overview

Package summary

Ammonite is a cleanroom re-implementation of the Scala REPL

Commands and aliases

  • amm

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2015: GitHub repository created for Ammonite.
  • 2015-2020s: Ammonite grows as a Scala REPL, script runner, and shell-friendly alternative to creating sbt projects for small programs.
  • 2026: Upstream release 3.0.9 is published.
  • Current upstream docs: Ammonite is marked deprecated, with Scala scripting users directed to Mill and REPL features noted as moving upstream.

Related projects

  • Scala REPL: upstream REPL that later received several Ammonite-style quality-of-life features.
  • Mill: Li Haoyi's build tool, now recommended by Ammonite docs for Scala single-file scripting.
  • sbt: the traditional Scala build tool whose startup and project overhead Ammonite often avoided for small tasks.

security posture

Risk level: yellow

generalized runtime or code generation signal.

Risk classifier

yellow risk · medium confidence · runtime

Why

  • generalized runtime or code generation signal

Signals

  • text:repl

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.ammonite/predef.sc~/.ammonite/predefScript.sc

executables

Installed executables

CommandKindExposureNote
ammcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version3.0.9
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/com-lihaoyi/Ammonite

install metadata

Package metadata

Package keybrew:ammonite-repl
Version3.0.9
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/ammonite-repl
Homepagehttps://ammonite.io/
Repositoryhttps://github.com/com-lihaoyi/Ammonite
Upstream docshttps://ammonite.io/
LicenseMIT
Source archivehttps://github.com/com-lihaoyi/Ammonite/releases/download/3.0.9/3.3-3.0.9
Dependenciesopenjdk
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameammonite-repl
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment