Automic VaultAutomic Vault

brew

使用 Homebrew, apk, Nix 安装 alda

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install alda

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add alda

Alpine Linux edge package indexes · alda · 来源: dl-cdn.alpinelinux.org

Nix已验证 · 92%
nix profile install nixpkgs#alda

nixpkgs package indexes · pkgs/by-name/al/alda/package.nix · 来源: api.github.com

概览

软件包摘要

Music programming language for musicians

命令和别名

  • alda
  • alda-player

历史

项目历史与用法

Alda is a text-based music programming language and command-line toolchain for writing, playing, and experimenting with musical scores from plain text. Its niche is the overlap between music notation, live coding, algorithmic composition, and Unix-style text workflows.

项目历史

The project is presented by its maintainers as a language for composing and playing music using only a text editor and the command line. The official site and README emphasize a markup-like syntax, General MIDI playback, examples, and an interactive REPL, positioning Alda as a music language that is approachable to musicians and still scriptable enough for programmers.

Alda's repository and site carry a 2012-2026 copyright notice for Dave Yarwood and contributors. The modern codebase is split into an `alda` client and `alda-player` playback process. Alda 2.0.0, released in June 2021, was a from-scratch rewrite in Go and Kotlin after the first generation had been mostly Clojure with a small Java client. The migration guide says Alda 2 kept the language mostly compatible while removing inline Clojure evaluation and introducing the separate player process.

Subsequent Alda 2 releases show ongoing package-maintainer concerns: player-process recovery, log4j security updates, `alda doctor`, MusicXML import, deterministic MIDI channel assignment, ARM Linux support, and memory reductions for lower-RAM devices such as Raspberry Pi.

采用历史

Alda is distributed through several package managers in the supplied package facts, including Homebrew, apk, and Nix. Its official README points users to the website for installation, while also documenting source builds for the Go client and Kotlin/Java player.

The project also maintains community surfaces for package users rather than only library consumers: official docs, examples, a cheat sheet, a Slack group, a subreddit, and a REPL workflow. That makes it recognizable in CLI package indexes as a real end-user tool, not merely a language experiment.

使用方式

Typical use is `alda play --file score.alda`, `alda play --code "piano: c6 d12 e6 g12~4"`, or `alda repl` for interactive composition. Scores are text files, so users naturally keep them in version control, edit them with ordinary editors, and run them from scripts.

Alda's more advanced usage includes programmatic composition, MIDI export/import workflows, and multi-process playback. In Alda 2, the CLI starts `alda-player` as needed and provides diagnostic commands such as `alda doctor` to help with audio and player-process setup.

为什么软件包爱好者会关心

Alda is package-nerd interesting because it packages a whole creative runtime as a pair of CLI executables rather than as a GUI application. It depends on the host audio stack, JVM/player behavior, architecture-specific binaries, and language-level compatibility, all of which show up in changelog entries that matter to distro maintainers.

It also demonstrates the classic text-tool value proposition: a domain that is normally graphical, music notation and playback, becomes inspectable, diffable, scriptable, and automatable.

时间线

  • 2012: Project copyright period begins in official site and README notices.
  • 2015: Official docs link Dave Yarwood's text-based music composition manifesto.
  • 2021-06-30: Alda 2.0.0 released as a Go and Kotlin rewrite.
  • 2023-05-07: Alda 2.2.5 added MusicXML import.
  • 2024-06-22: Alda 2.3.0 reworked MIDI channel assignment.
  • 2025-09-19: Alda 2.3.3 added broader Linux ARM support.
  • 2026-05-12: Alda 2.4.3 reduced player memory usage.

Related projects

  • Alda's own migration guide identifies Alda 1 as the mostly Clojure predecessor and `alda-clj` as a Clojure DSL for algorithmic music that preserves part of the earlier Clojure-oriented workflow.
  • The docs connect Alda to General MIDI, MusicXML import, editor plugins, and the nREPL-inspired REPL client/server model.

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:programming language

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
aldacli全局可执行文件
alda-playercli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://github.com/alda-lang/alda

安装元数据

软件包元数据

软件包键brew:alda
版本2.4.3
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/alda
主页https://alda.io
仓库https://github.com/alda-lang/alda
上游文档https://alda.io/
许可证EPL-2.0
源码归档https://github.com/alda-lang/alda/archive/refs/tags/release-2.4.3.tar.gz
最后更新2026-05-13T08:18:19Z
Pulseupdated
依赖openjdk
构建依赖go, gradle@8
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

alda

nix profile install nixpkgs#alda
  • normalized package name match
  • 匹配方式:Alda
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/al/alda/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

alda 2.3.2-r10

Music programming language for musicians

https://github.com/alda-lang/alda

sudo apk add alda
  • License: EPL-2.0
  • Architecture: x86_64
  • Source Package: alda
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Alda
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: alda from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

来源线索

由仓库数据生成

此页面由 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 package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment