# Install dasm with Homebrew, apt, Nix

Macro assembler with support for several 8-bit microprocessors. Version 2.20.17 via Homebrew; verified 2026-06-26.

## Install

```sh
sudo av install brew:dasm
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install dasm
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install dasm
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#dasm
```

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

## Package facts

- **Package key:** brew:dasm
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/dasm>
- **Version:** 2.20.17
- **Source summary:** Macro assembler with support for several 8-bit microprocessors
- **Homepage:** <https://dasm-assembler.github.io/>
- **Repository:** <https://github.com/dasm-assembler/dasm>
- **Upstream docs:** <https://dasm-assembler.github.io/>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://github.com/dasm-assembler/dasm/archive/refs/tags/v2.20.17.tar.gz>
- **Last updated:** 2026-06-26T00:47:10Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- dasm (cli)
- ftohex (cli)
- dasm (alias)
- ftohex (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.20.17
- Package-manager updated: 2026-06-26
- Local data: ok
- Upstream repository: https://github.com/dasm-assembler/dasm
- Upstream latest detected: v2.20.17 (current)
## Project history and usage

DASM is a C macro assembler for 8-bit processors used in retrocomputing, console homebrew, and cross-assembly workflows.

### Project history

The official DASM site traces the assembler to Matthew Dillon in 1987-1988, followed by extensions and several maintainer eras through the 1990s and 2000s. The project moved its source and releases to GitHub in 2019.

### Adoption history

DASM's long life comes from its support for processors and machines that matter to 8-bit development, including MOS 6502 and 6507 systems, Motorola-family chips, Hitachi HD6303, and Fairchild F8. The official downloads include Linux, macOS, Windows, and Raspberry Pi OS binaries.

### How it is used

It is used as a command-line cross-assembler, with included console-specific headers and common macros for systems such as the Atari 2600, Atari 7800, and Fairchild Channel F.

### Why package nerds care

For package history, DASM is the rare tool where modern package managers carry a living utility from late-1980s assembly culture into current retrocomputing and homebrew-console build chains.

### Timeline

- 1987-1988: Matthew Dillon started DASM.
- 1995: Olaf Seibert extended DASM.
- 2003-2008: Andrew Davie maintained DASM.
- 2008-2015: Peter Frohlich maintained DASM.
- 2019: Source code and releases moved to GitHub.
- 2026: v2.20.17 was published on GitHub.

### Related projects

- DASM is commonly associated with 8-bit targets such as Atari 2600, Atari 7800, and Fairchild Channel F development.

### Sources

- <https://dasm-assembler.github.io/>
- <https://github.com/dasm-assembler/dasm>
- <https://github.com/dasm-assembler/dasm/releases/tag/v2.20.17>


## 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:** dasm
- **Version Scheme:** 1
- **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 - dasm - 2.20.15~20201109+really2.20.14.1-2: normalized package name match | Debian stable package indexes: dasm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Macro assembler with support for several 8-bit microprocessors | https://dasm-assembler.github.io/
- Nix - dasm: normalized package name match | nixpkgs package indexes: pkgs/by-name/da/dasm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - dasm - 2.20.15~20201109+really2.20.14.1-2: normalized package name match | Ubuntu 24.04 LTS package indexes: dasm from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Macro assembler with support for several 8-bit microprocessors | https://dasm-assembler.github.io/


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [tass64](https://www.automicvault.com/pkg/brew/tass64/) - Shares av.db curated category or tags: assembler, cli, developer-tools, macro-assembler.
- [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.
- [gputils](https://www.automicvault.com/pkg/brew/gputils/) - Shares av.db curated category or tags: assembler, cli, developer-tools.
- [jasmin](https://www.automicvault.com/pkg/brew/jasmin/) - Shares av.db curated category or tags: assembler, cli, developer-tools.
- [nasm](https://www.automicvault.com/pkg/brew/nasm/) - Shares av.db curated category or tags: assembler, cli, developer-tools.
- [vc4asm](https://www.automicvault.com/pkg/brew/vc4asm/) - Shares av.db curated category or tags: assembler, cli, developer-tools.
- [wla-dx](https://www.automicvault.com/pkg/brew/wla-dx/) - Shares av.db curated category or tags: assembler, cli, developer-tools, retrocomputing.

## Combined YAML source

View the package source record on GitHub. [combined/dasm.yml](https://github.com/automic-vault/db/blob/main/combined/dasm.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
