# 使用 Homebrew, Nix 安装 asm-lsp

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

## 安装

```sh
sudo av install brew:asm-lsp
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install asm-lsp
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#asm-lsp
```

  证据: nixpkgs package indexes: pkgs/by-name/as/asm-lsp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:asm-lsp
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/asm-lsp>
- **版本:** 0.10.1
- **来源摘要:** Language server for NASM/GAS/GO Assembly
- **主页:** <https://github.com/bergercookie/asm-lsp>
- **仓库:** <https://github.com/bergercookie/asm-lsp>
- **上游文档:** <https://github.com/bergercookie/asm-lsp#readme>
- **许可证:** BSD-2-Clause
- **源码归档:** <https://github.com/bergercookie/asm-lsp/archive/refs/tags/v0.10.1.tar.gz>
- **已生成:** 2026-07-25T07:20:51+00:00

## 可执行文件

- asm-lsp (cli)
- asm-lsp (别名)

## 构建依赖

- pkgconf
- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-25
- 管理器版本: 0.10.1
- 本地数据: OK
- 上游仓库: https://github.com/bergercookie/asm-lsp
- 检测到的最新版本: v0.10.1 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

asm-lsp is a Rust language server for assembly code. Its README says it supports NASM, GAS, Go assembly, MASM, ca65, AVR, FASM, and several instruction-set families including x86, ARM, RISC-V, z80, AVR, and 6502.

### 项目历史

The GitHub repository was created in July 2020, in the period when editors increasingly standardized on Language Server Protocol integrations. The project applies that model to assembly source, where hover help, completions, diagnostics, and references are useful but historically fragmented by assembler dialect.

The README documents a configuration-centered design: project-local `.asm-lsp.toml` files override global config under `~/.config/asm-lsp/`, and `compile_commands.json` or `compile_flags.txt` can extend diagnostics and include-path behavior.

### 采用历史

asm-lsp is packaged for Rust users through cargo and for system package users through Homebrew and Nix according to the input package facts. GitHub metadata shows several hundred stars, which is meaningful for a specialized editor backend for assembly.

### 使用方式

Users install it with cargo, GitHub release binaries, or a package manager, then configure an editor LSP client to launch `asm-lsp` for assembly filetypes. Projects can add `.asm-lsp.toml`, or generate one interactively with `asm-lsp gen-config`, to select assembler dialects, instruction sets, diagnostics, and compiler settings.

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

asm-lsp matters to package nerds because it turns a historically editor-specific assembly tooling problem into a single reusable server binary. It is also a good example of a modern Rust CLI that becomes useful only when package managers, editor integrations, and per-project config all line up.

### 时间线

- 2020: GitHub repository created.
- 2024: v0.8.0 and v0.9.0 GitHub releases published.
- 2025: v0.10.x releases published.
- 2026: Homebrew API lists stable version 0.10.1.

### Related projects

- The README cites upstream documentation sources including binutils GAS docs, NASM docs, Microsoft MASM docs, cc65 ca65 docs, Arm documentation, Microchip AVR documentation, and the asm-dude Visual Studio extension.

### 来源

- <https://api.github.com/repos/bergercookie/asm-lsp>
- <https://api.github.com/repos/bergercookie/asm-lsp/releases>
- <https://formulae.brew.sh/api/formula/asm-lsp.json>
- <https://github.com/bergercookie/asm-lsp#readme>
- source_facts.package-manager


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal


## 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

- Unix: ./.asm-lsp.toml, ~/.config/asm-lsp/.asm-lsp.toml, compile_commands.json, compile_flags.txt
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** asm-lsp
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 其他软件包管理器记录

- Nix - asm-lsp: normalized package name match | nixpkgs package indexes: pkgs/by-name/as/asm-lsp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [pkgconf](https://www.automicvault.com/zh-hans/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/zh-hans/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [millet](https://www.automicvault.com/zh-hans/pkg/brew/millet/) - Shares av.db curated category or tags: cli, developer-tools, language-server, lsp, rust.
- [phpantom-lsp](https://www.automicvault.com/zh-hans/pkg/brew/phpantom-lsp/) - Shares av.db curated category or tags: cli, developer-tools, language-server, lsp, rust.
- [actions-languageserver](https://www.automicvault.com/zh-hans/pkg/brew/actions-languageserver/) - Shares av.db curated category or tags: cli, developer-tools, language-server, lsp.
- [ansible-language-server](https://www.automicvault.com/zh-hans/pkg/brew/ansible-language-server/) - Shares av.db curated category or tags: cli, developer-tools, language-server, lsp.
- [bash-language-server](https://www.automicvault.com/zh-hans/pkg/brew/bash-language-server/) - Shares av.db curated category or tags: cli, developer-tools, language-server, lsp.
- [beancount-language-server](https://www.automicvault.com/zh-hans/pkg/brew/beancount-language-server/) - Shares av.db curated category or tags: cli, developer-tools, language-server, lsp.
- [clojure-lsp](https://www.automicvault.com/zh-hans/pkg/brew/clojure-lsp/) - Shares av.db curated category or tags: cli, developer-tools, language-server, lsp.
- [cmake-language-server](https://www.automicvault.com/zh-hans/pkg/brew/cmake-language-server/) - Shares av.db curated category or tags: cli, developer-tools, language-server, lsp.
- [gopls](https://www.automicvault.com/zh-hans/pkg/brew/gopls/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, go, language.

## Combined YAML source

View the package source record on GitHub. [combined/asm-lsp.yml](https://github.com/automic-vault/db/blob/main/combined/asm-lsp.yml)


## 来源

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