macOS
brew install nasmlocal Homebrew formula metadata
sudo port install nasmMacPorts ports tree · lang/nasm/Portfile · source: api.github.com
brew
Netwide Assembler (NASM) is an 80x86 assembler. Version 3.02 via Homebrew; verified 2026-06-29.
install
brew install nasmlocal Homebrew formula metadata
sudo port install nasmMacPorts ports tree · lang/nasm/Portfile · source: api.github.com
sudo apk add nasmAlpine Linux edge package indexes · nasm · source: dl-cdn.alpinelinux.org
sudo apt install nasmDebian stable package indexes · nasm · source: deb.debian.org
sudo dnf install nasmFedora Rawhide package metadata · nasm · source: dl.fedoraproject.org
nix profile install nixpkgs#nasmnixpkgs package indexes · pkgs/by-name/na/nasm/package.nix · source: api.github.com
sudo pacman -S nasmArch Linux sync databases · nasm · source: geo.mirror.pkgbuild.com
sudo zypper install nasmopenSUSE Tumbleweed package metadata · nasm · source: download.opensuse.org
choco install nasmChocolatey community package catalog · nasm · source: community.chocolatey.org
scoop install main/nasmScoop official bucket manifest trees · bucket/nasm.json · source: api.github.com
winget install --id NASM.NASM -eWindows Package Manager source index · NASM.NASM · source: cdn.winget.microsoft.com
overview
Netwide Assembler (NASM) is an 80x86 assembler
history
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
nasm | cli | global executable | |
ndisasm | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:nasm |
|---|---|
| Version | 3.02 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/nasm |
| Homepage | https://www.nasm.us/ |
| Repository | https://github.com/netwide-assembler/nasm |
| Upstream docs | https://www.nasm.us/docs.html |
| License | BSD-2-Clause |
| Source archive | https://www.nasm.us/pub/nasm/releasebuilds/3.02/nasm-3.02.tar.xz |
| Last updated | 2026-06-29T07:58:49Z |
| Pulse | updated |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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 -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.