# Install z80asm with Homebrew, apt, dnf

Assembler for the Zilog Z80 microprcessor and compatibles. Version 1.8 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:z80asm
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install z80asm
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install z80asm
```

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

- dnf (92%):

```sh
sudo dnf install z80asm
```

  Evidence: Fedora Rawhide package metadata: z80asm from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

## Package facts

- **Package key:** brew:z80asm
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/z80asm>
- **Version:** 1.8
- **Source summary:** Assembler for the Zilog Z80 microprcessor and compatibles
- **Homepage:** <https://www.nongnu.org/z80asm/>
- **Repository:** <https://git.savannah.nongnu.org/cgit/z80asm.git>
- **Upstream docs:** <https://www.nongnu.org/z80asm>
- **License:** GPL-3.0-or-later
- **Source archive:** <https://download.savannah.gnu.org/releases/z80asm/z80asm-1.8.tar.gz>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- z80asm (cli)
- z80asm (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.8
- Local data: ok
- Upstream repository: https://www.nongnu.org/z80asm/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

z80asm is a free assembler for the Zilog Z80 microprocessor and compatible CPUs. The official NonGNU page presents it as an ANSI C assembler that recognizes official mnemonics, most unofficial mnemonics, complex expressions, include files, conditional code, labels, and listing files.

### Project history

The project is hosted on GNU Savannah/NonGNU, with its homepage emphasizing a free, easy-to-expand, easy-to-use assembler whose source can be read, modified, and redistributed. That framing fits the retrocomputing and embedded-toolchain world, where developers often need transparent tools for old instruction sets.

The Savannah cgit history shows continued maintenance into 2021, including fixes around undocumented IX/IY opcode handling and bug branches. The public history is not heavily narrative, but it shows a long-lived utility maintained through the free-software hosting ecosystem rather than a vendor IDE.

### Adoption history

z80asm persists in package managers because Z80 code persists: retrocomputing, emulator projects, calculator and handheld work, hobby operating systems, embedded experiments, and ROM hacking all need a scriptable assembler.

The input facts for this run list z80asm in Homebrew, Debian, Fedora, and Ubuntu, which is the key adoption signal for a small classic-CPU assembler: it is available wherever users expect to assemble old 8-bit code on modern systems.

### How it is used

Users write Z80 assembly, usually set an origin with org, define bytes and words with directives such as db and dw, include source or binary files, use conditionals and macros, and assemble to a binary output suitable for ROM images, emulators, or target devices.

The official usage page says command-line help documents invocation, while the web docs focus on writing assembly for this assembler. That split is typical of small Unix tools: install the command, use --help for options, and read the project pages for syntax details.

### Why package nerds care

z80asm is significant because it keeps a 1970s CPU architecture usable from modern Unix package managers. It is a small bridge between historical hardware and contemporary reproducible builds.

It also has the classic assembler-package shape: tiny binary, no service, no credentials, little runtime state, but high value when a build pipeline needs exact bytes.

### Timeline

- 2000s: z80asm is hosted as a NonGNU/Savannah free-software project.
- 2016-05-09: Savannah cgit history shows macro-related maintenance.
- 2018-08-28: Savannah cgit history shows portability maintenance around locale headers.
- 2021-03-16: Savannah cgit history shows fixes for undocumented IX/IY opcode handling and related bugs.

### Related projects

- The Zilog Z80 CPU is the target architecture for z80asm.
- GNU Savannah/NonGNU is the hosting ecosystem for the project.
- z80dasm and similar Z80 disassemblers are adjacent tools used to round-trip or inspect Z80 binaries.

### Sources

- <https://git.savannah.nongnu.org/cgit/z80asm.git/>
- <https://www.nongnu.org/z80asm/>
- <https://www.nongnu.org/z80asm/directives.html>
- <https://www.nongnu.org/z80asm/expressions.html>
- <https://www.nongnu.org/z80asm/usage.html>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

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

## Other Package-Manager Records

- Debian apt - z80asm - 1.8-2: normalized package name match | Debian stable package indexes: z80asm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | assembler for the Zilog Z80 microprocessor
- Ubuntu apt - z80asm - 1.8-2: normalized package name match | Ubuntu 24.04 LTS package indexes: z80asm from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | assembler for the Zilog Z80 microprocessor
- dnf - z80asm - 1.8-30.fc44: normalized package name match | Fedora Rawhide package metadata: z80asm from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Z80 Assembler | http://savannah.nongnu.org/projects/z80asm/


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [keystone](https://www.automicvault.com/pkg/brew/keystone/) - Shares av.db curated category or tags: assembler, assembly, cli, developer-tools.
- [wla-dx](https://www.automicvault.com/pkg/brew/wla-dx/) - Shares av.db curated category or tags: assembler, assembly, cli, developer-tools.
- [nasm](https://www.automicvault.com/pkg/brew/nasm/) - Shares av.db curated category or tags: assembler, assembly-language, cli, developer-tools.
- [aarch64-elf-binutils](https://www.automicvault.com/pkg/brew/aarch64-elf-binutils/) - Shares av.db curated category or tags: assembler, cli, developer-tools.
- [acme](https://www.automicvault.com/pkg/brew/acme/) - Shares av.db curated category or tags: assembler, cli, developer-tools.
- [asm6809](https://www.automicvault.com/pkg/brew/asm6809/) - Shares av.db curated category or tags: assembler, cli, developer-tools.
- [atasm](https://www.automicvault.com/pkg/brew/atasm/) - Shares av.db curated category or tags: assembler, cli, developer-tools.
- [avra](https://www.automicvault.com/pkg/brew/avra/) - Shares av.db curated category or tags: assembler, cli, developer-tools.
- [quilt](https://www.automicvault.com/pkg/brew/quilt/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, gnu.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- 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
