Automic VaultAutomic Vault

brew

Install nasm with Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, scoop, winget, zypper

Netwide Assembler (NASM) is an 80x86 assembler. Version 3.02 via Homebrew; verified 2026-06-29.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install nasm

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install nasm

MacPorts ports tree · lang/nasm/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add nasm

Alpine Linux edge package indexes · nasm · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install nasm

Debian stable package indexes · nasm · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install nasm

Fedora Rawhide package metadata · nasm · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#nasm

nixpkgs package indexes · pkgs/by-name/na/nasm/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S nasm

Arch Linux sync databases · nasm · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install nasm

openSUSE Tumbleweed package metadata · nasm · source: download.opensuse.org

overview

Package summary

Netwide Assembler (NASM) is an 80x86 assembler

Commands and aliases

  • nasm
  • ndisasm

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 1996-10: NASM 0.90 released as the first release version with object-file output support.
  • 2007: NASM 2.00 series added general x86-64 support and 64-bit object formats.
  • 2025: NASM 3 series became the production line, adding APX instruction encodings.
  • 2026-06-29: NASM 3.02 listed by the official site as stable.
  • 2026-07-01: Homebrew formula JSON listed stable version 3.02 and 93,847 installs over 365 days.

Related projects

  • ndisasm
  • Yasm
  • GNU assembler
  • Intel Software Developer Manual

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
nasmcliglobal executable
ndisasmcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version3.02
manager updated2026-06-29
local dataok
upstreamnot checked
latest detectednot detected

https://www.nasm.us/

  • infoRelease/tag comparison is only available for GitHub repositories.https://www.nasm.us/none confidence

install metadata

Package metadata

Package keybrew:nasm
Version3.02
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/nasm
Homepagehttps://www.nasm.us/
Repositoryhttps://github.com/netwide-assembler/nasm
Upstream docshttps://www.nasm.us/docs.html
LicenseBSD-2-Clause
Source archivehttps://www.nasm.us/pub/nasm/releasebuilds/3.02/nasm-3.02.tar.xz
Last updated2026-06-29T07:58:49Z
Pulseupdated
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

nasm 2.16.03-1

General-purpose x86 assembler

http://www.nasm.us/

sudo apt install nasm
  • Section: devel
  • Architecture: amd64
  • 1 dependencies
  • normalized package name match
  • Matched by: Nasm
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nasm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

nasm

nix profile install nixpkgs#nasm
  • normalized package name match
  • Matched by: Nasm
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/na/nasm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

nasm 2.16.01-1build1

General-purpose x86 assembler

http://www.nasm.us/

sudo apt install nasm
  • Section: universe/devel
  • Architecture: amd64
  • 3 dependencies
  • normalized package name match
  • Matched by: Nasm
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: nasm from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

nasm 3.01-r0

80x86 assembler designed for portability and modularity

https://www.nasm.us

sudo apk add nasm
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: nasm
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Nasm
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nasm from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

nasm-doc 3.01-r0

80x86 assembler designed for portability and modularity (documentation)

https://www.nasm.us

sudo apk add nasm-doc
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: nasm
  • normalized package name match
  • Matched by: Nasm
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nasm-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

nasm 3.01-3.fc45

A portable x86 assembler which uses Intel-like syntax

http://www.nasm.us

sudo dnf install nasm
  • License: BSD-2-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: nasm
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Nasm
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: nasm from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

nasm-doc 3.01-3.fc45

Documentation for NASM

http://www.nasm.us

sudo dnf install nasm-doc
  • License: BSD-2-Clause
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: nasm
  • 1 provides
  • normalized package name match
  • Matched by: Nasm
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: nasm-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

nasm 3.01-1

80x86 assembler designed for portability and modularity

https://ww.nasm.us

sudo pacman -S nasm
  • License: BSD-2-Clause
  • Architecture: x86_64
  • 2 dependencies
  • normalized package name match
  • Matched by: Nasm
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: nasm from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

nasm 3.01-1.3

Netwide Assembler (An x86 Assembler)

https://www.nasm.us/

sudo zypper install nasm
  • License: BSD-2-Clause
  • Category: Development/Languages/Other
  • Architecture: x86_64
  • Source Package: nasm
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Nasm
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: nasm from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

nasm

sudo port install nasm
  • normalized package name match
  • Matched by: Nasm
MacPorts ports tree · api.github.com · MacPorts ports tree: lang/nasm/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

nasm

choco install nasm
  • normalized package name match
  • Matched by: Nasm
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: nasm from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','naps2'
Scoop95%

main/nasm

scoop install main/nasm
  • normalized package name match
  • Matched by: Nasm
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/nasm.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

NASM.NASM

winget install --id NASM.NASM -e
  • normalized package name match
  • Matched by: Nasm
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: NASM.NASM from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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