macOS
brew install metalslocal Homebrew formula metadata
安装
brew install metalslocal Homebrew formula metadata
nix profile install nixpkgs#metalsnixpkgs package indexes · pkgs/by-name/me/metals/package.nix · 来源: api.github.com
概览
Scala language server
历史
Metals is the Scala language server from the Scalameta ecosystem. The name is explained by the project as Meta, from Scalameta, plus LS, from Language Server. Early public announcements credited work at the Scala Center with community contributors, and Ólafur Páll Geirsson announced Metals 0.3 and 0.4 releases during the 2018-2019 period as a work-in-progress language server for Scala editors.
Metals' technical role is to bring IDE features to editors that speak the Language Server Protocol. The 2019 Scala language blog described Metals 0.5 as supporting completions, type at point, goto definition, fuzzy symbol search, and other editing and navigation features in VS Code, Vim, Emacs, Atom, Sublime Text, and any compatible LSP client. The tool also connected the editor side of Scala tooling to build tools through Bloop and the Build Server Protocol, allowing support for sbt, Gradle, Maven, Mill, and any build tool implementing BSP.
Version 1.0.0, codenamed Silver, was announced in July 2023 as a culmination of work by the community and core Metals team, with support for important LSP features and IDE-like workflows in users' editors. Metals documentation names Scala Center and VirtusLab among the organizations developing Metals with community help.
In practice, Metals is installed by editor plugins or as a standalone language-server binary, then launched by VS Code, Neovim, Emacs, Sublime Text, Zed, Helix, or another client. Homebrew and Nix packaging make the server available outside editor-specific installers, which matters for reproducible developer machines, CI checks around editor tooling, and users who prefer to manage language servers through the OS package manager.
安全态势
没有找到 metals 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
metals | cli | 全局可执行文件 | |
metals-mcp | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/scalameta/metals
安装元数据
| 软件包键 | brew:metals |
|---|---|
| 版本 | 1.6.7 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/metals |
| 主页 | https://scalameta.org/metals/ |
| 仓库 | https://github.com/scalameta/metals |
| 上游文档 | https://scalameta.org/metals |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/scalameta/metals/archive/refs/tags/v1.6.7.tar.gz |
| 最后更新 | 2026-06-22T14:05:28-07:00 |
| Pulse | updated |
| 依赖 | openjdk@25 |
| 构建依赖 | sbt |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | metals |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
metals
nix profile install nixpkgs#metals来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.