pkg.soopen package index

brew / 排名 3284

使用 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

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
amm可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

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

页面生成时间2026-08-03
管理器版本3.0.9
管理器更新时间2026-07-28
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:ammonite-repl
版本3.0.9
软件包管理器Homebrew
主页https://ammonite.io/
仓库https://github.com/com-lihaoyi/Ammonite
最后更新2026-07-28T13:36:09-04:00
Pulseupdated
Bottle未记录
服务未声明

来源线索

由仓库数据生成

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

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • pkg.so package database
  • pkgdb category and tag curation