Automic VaultAutomic Vault

brew

使用 Homebrew 安装 ammonite-repl

查看 ammonite-repl 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install ammonite-repl

local Homebrew formula metadata

概览

软件包摘要

Ammonite is a cleanroom re-implementation of the Scala REPL

命令和别名

  • amm

历史

项目历史与用法

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.

时间线

  • 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.

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:repl

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
ammcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-26
管理器版本3.0.9
管理器更新时间2026-07-17
本地数据OK
上游not checked
检测到的最新版本未检测到

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

安装元数据

软件包元数据

软件包键brew:ammonite-repl
版本3.0.9
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/ammonite-repl
主页https://ammonite.io/
仓库https://github.com/com-lihaoyi/Ammonite
上游文档https://ammonite.io/
许可证MIT
源码归档https://github.com/com-lihaoyi/Ammonite/releases/download/3.0.9/3.3-3.0.9
最后更新2026-07-17T17:52:51+09:00
Pulseupdated
依赖openjdk
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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