# Installer nasm avec Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de nasm pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:nasm
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install nasm
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install nasm
```

  Preuve: MacPorts ports tree: lang/nasm/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add nasm
```

  Preuve: Alpine Linux edge package indexes: nasm from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install nasm
```

  Preuve: Debian stable package indexes: nasm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install nasm
```

  Preuve: Fedora Rawhide package metadata: nasm from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#nasm
```

  Preuve: nixpkgs package indexes: pkgs/by-name/na/nasm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S nasm
```

  Preuve: Arch Linux sync databases: nasm from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install nasm
```

  Preuve: openSUSE Tumbleweed package metadata: nasm from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install nasm
```

  Preuve: Chocolatey community package catalog: nasm from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','multipass'

- Scoop (92%):

```sh
scoop install main/nasm
```

  Preuve: Scoop official bucket manifest trees: bucket/nasm.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id NASM.NASM -e
```

  Preuve: Windows Package Manager source index: NASM.NASM from https://cdn.winget.microsoft.com/cache/source.msix

## Faits du paquet

- **Clé du paquet:** brew:nasm
- **Gestionnaire de paquets:** Homebrew
- **Version:** 3.02
- **Résumé source:** Netwide Assembler (NASM) is an 80x86 assembler
- **Page d'accueil:** <https://www.nasm.us/>
- **Dépôt:** <https://github.com/netwide-assembler/nasm>
- **Dernière mise à jour:** 2026-06-29T07:58:49Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- nasm (alias)
- ndisasm (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 3.02
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 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

### Sources

- <https://api.github.com/repos/netwide-assembler/nasm>
- <https://formulae.brew.sh/api/formula/nasm.json>
- <https://formulae.brew.sh/formula/nasm>
- <https://github.com/netwide-assembler/nasm>
- <https://www.nasm.us/>
- <https://www.nasm.us/doc/nasm01.html>
- <https://www.nasm.us/doc/nasm02.html>
- <https://www.nasm.us/doc/nasmac.html>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- Debian apt - nasm - 2.16.03-1: normalized package name match | Debian stable package indexes: nasm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | General-purpose x86 assembler | http://www.nasm.us/
- Nix - nasm: normalized package name match | nixpkgs package indexes: pkgs/by-name/na/nasm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - nasm - 2.16.01-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: nasm from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | General-purpose x86 assembler | http://www.nasm.us/
- apk - nasm - 3.01-r0: normalized package name match | Alpine Linux edge package indexes: nasm from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | 80x86 assembler designed for portability and modularity | https://www.nasm.us
- apk - nasm-doc - 3.01-r0: normalized package name match | Alpine Linux edge package indexes: nasm-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | 80x86 assembler designed for portability and modularity (documentation) | https://www.nasm.us
- dnf - nasm - 3.02-2.fc45: normalized package name match | Fedora Rawhide package metadata: nasm from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A portable x86 assembler which uses Intel-like syntax | http://www.nasm.us
- dnf - nasm-doc - 3.02-2.fc45: normalized package name match | Fedora Rawhide package metadata: nasm-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Documentation for NASM | http://www.nasm.us
- pacman - nasm - 3.02-1: normalized package name match | Arch Linux sync databases: nasm from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | 80x86 assembler designed for portability and modularity | https://www.nasm.us
- zypper - nasm - 3.02-1.2: normalized package name match | openSUSE Tumbleweed package metadata: nasm from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Netwide Assembler (An x86 Assembler) | https://www.nasm.us/
- MacPorts - nasm: normalized package name match | MacPorts ports tree: lang/nasm/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - nasm: normalized package name match | Chocolatey community package catalog: nasm from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','multipass'
- Scoop - main/nasm: normalized package name match | Scoop official bucket manifest trees: bucket/nasm.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - NASM.NASM: normalized package name match | Windows Package Manager source index: NASM.NASM from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/nasm.yml](https://github.com/mxcl/pkgdb/blob/main/combined/nasm.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
