macOS
brew install nasmlocal Homebrew formula metadata
sudo port install nasmMacPorts ports tree · lang/nasm/Portfile · 来源: api.github.com
安装
brew install nasmlocal Homebrew formula metadata
sudo port install nasmMacPorts ports tree · lang/nasm/Portfile · 来源: api.github.com
sudo apk add nasmAlpine Linux edge package indexes · nasm · 来源: dl-cdn.alpinelinux.org
sudo dnf install nasmFedora Rawhide package metadata · nasm · 来源: dl.fedoraproject.org
nix profile install nixpkgs#nasmnixpkgs package indexes · pkgs/by-name/na/nasm/package.nix · 来源: api.github.com
sudo pacman -S nasmArch Linux sync databases · nasm · 来源: geo.mirror.pkgbuild.com
sudo zypper install nasmopenSUSE Tumbleweed package metadata · nasm · 来源: download.opensuse.org
choco install nasmChocolatey community package catalog · nasm · 来源: community.chocolatey.org
scoop install main/nasmScoop official bucket manifest trees · bucket/nasm.json · 来源: api.github.com
winget install --id NASM.NASM -eWindows Package Manager source index · NASM.NASM · 来源: cdn.winget.microsoft.com
概览
Netwide Assembler (NASM) is an 80x86 assembler
历史
NASM, the Netwide Assembler, is a long-running x86 and x86-64 assembler with Intel-like syntax, broad object-format support, a companion disassembler `ndisasm`, and a reputation as a standard tool for low-level x86 work.
The official NASM site says the project was originally developed by Simon Tatham and Julian Hall and is maintained by a team led by H. Peter Anvin. The documentation's version history records version 0.90 in October 1996 as the first release version and the first support for object-file output.
NASM 2.00 added general x86-64 support, Win64 COFF, ELF64, and Mach-O output formats. NASM 3 series became the production version in 2025 and added APX instruction encodings and preprocessor improvements. The official site listed stable version 3.02 on 2026-06-29 and a development snapshot dated 2026-07-01.
NASM is packaged almost everywhere: Homebrew input data lists Alpine, Debian, Fedora, MacPorts, Nix, pacman, Scoop, Ubuntu, winget, and zypper package names. Homebrew's formula JSON generated on 2026-07-01 reported 93,847 installs over 365 days and 35,027 installs-on-request over 365 days, making it the dominant package in this batch by Homebrew adoption.
GitHub API data fetched on 2026-07-01 showed 3,249 stars and 410 forks for the current GitHub-hosted repository. Those numbers understate its age because NASM predates GitHub by more than two decades and has long been distributed through project tarballs, OS packages, compiler-course notes, and low-level systems tutorials.
Users assemble source with commands such as `nasm -f elf myfile.asm` for object files or `nasm -f bin program.asm -o program.com` for flat binaries. The package also installs `ndisasm`, useful for disassembling raw x86 byte streams.
Package nerds encounter NASM as a build dependency for projects containing hand-written x86 assembly, codec kernels, bootloaders, OS-dev experiments, exploit/reversing exercises, and compiler or architecture classes. Its value is the predictable Intel-like syntax and explicit output-format selection.
NASM is one of the canonical x86 assembler packages. It matters because it is small, scriptable, cross-platform, and stable enough to appear as a dependency in build systems that need exact x86 object generation without invoking a full compiler frontend.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
nasm | cli | 全局可执行文件 | |
ndisasm | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:nasm |
|---|---|
| 版本 | 3.02 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/nasm |
| 主页 | https://www.nasm.us/ |
| 仓库 | https://github.com/netwide-assembler/nasm |
| 上游文档 | https://www.nasm.us/docs.html |
| 许可证 | BSD-2-Clause |
| 源码归档 | https://www.nasm.us/pub/nasm/releasebuilds/3.02/nasm-3.02.tar.xz |
| 最后更新 | 2026-06-29T07:58:49Z |
| Pulse | updated |
| 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 | nasm |
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
nasm 2.16.03-1
General-purpose x86 assembler
sudo apt install nasmnasm
nix profile install nixpkgs#nasmnasm 2.16.01-1build1
General-purpose x86 assembler
sudo apt install nasmnasm 3.01-r0
80x86 assembler designed for portability and modularity
sudo apk add nasmnasm-doc 3.01-r0
80x86 assembler designed for portability and modularity (documentation)
sudo apk add nasm-docnasm 3.01-3.fc45
A portable x86 assembler which uses Intel-like syntax
sudo dnf install nasmnasm-doc 3.01-3.fc45
Documentation for NASM
sudo dnf install nasm-docnasm 3.01-1
80x86 assembler designed for portability and modularity
sudo pacman -S nasmnasm 3.01-1.3
Netwide Assembler (An x86 Assembler)
sudo zypper install nasmnasm
sudo port install nasmnasm
choco install nasmmain/nasm
scoop install main/nasmNASM.NASM
winget install --id NASM.NASM -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.