# Install zxcc with Homebrew

CP/M 2/3 emulator for cross-compiling and CP/M tools under UNIX. Version 0.5.7 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:zxcc
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install zxcc
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:zxcc
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/zxcc>
- **Version:** 0.5.7
- **Source summary:** CP/M 2/3 emulator for cross-compiling and CP/M tools under UNIX
- **Homepage:** <https://www.seasip.info/Unix/Zxcc/>
- **Repository:** <https://github.com/agn453/ZXCC>
- **Upstream docs:** <https://www.seasip.info/Unix/Zxcc>
- **License:** GPL-2.0-or-later AND LGPL-2.0-or-later
- **Source archive:** <https://www.seasip.info/Unix/Zxcc/zxcc-0.5.7.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- zxas (cli)
- zxcc (cli)
- zxlibr (cli)
- zxlink (cli)
- zxas (alias)
- zxcc (alias)
- zxlibr (alias)
- zxlink (alias)

## Uses from macOS

- ncurses

## 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: 0.5.7
- Local data: ok
- Upstream repository: https://www.seasip.info/Unix/Zxcc/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

ZXCC is John Elliott's CP/M 2/3 emulator for Unix-style cross-development: it runs CP/M tools such as HI-TECH C and Digital Research build utilities while mapping host directories into CP/M drives.

### Project history

The original ZXCC page describes a two-purpose emulator: using HI-TECH C for CP/M as a cross-compiler under Unix, and running CP/M build tools such as MAC, RMAC, GENCOM, and LINK under DOS or Unix. The stable 0.5.7 source bundled CPMIO for terminal emulation and CPMREDIR for host-filesystem redirection.

A later community-maintained GitHub repository was extracted from Elliott's stable source in 2021. That tree focuses on keeping ZXCC useful on modern Windows, Linux, Unix, and macOS systems, with fixes for HI-TECH Z80 C, CP/M BDOS behavior, Z80 instruction emulation, file tracking, and autotools builds.

### Adoption history

ZXCC's adoption is narrow but durable: retrocomputing developers use it when the authentic CP/M compiler or assembler is part of the build, but they want modern host files, scripts, editors, and CI around it. Its wrappers such as zxc, zxas, zxlink, and zxlibr turn CP/M-era tools into commands that fit a Unix workflow.

### How it is used

The key trick is BDOS-level emulation rather than a full machine emulator. CPMREDIR presents host directories as CP/M drives, so tools running under the emulator can read and write normal files. That makes ZXCC especially practical for rebuilding old CP/M software, running HI-TECH C, and using Digital Research toolchains from a modern shell.

### Why package nerds care

ZXCC is package-nerd catnip because it packages a bridge between package-manager convenience and historical toolchains. Installing it gives modern systems command-line access to a CP/M development environment without booting a full vintage machine image.

### Timeline

- 2013: John Elliott's ZXCC page lists stable 0.5.7 and older 0.4.0 downloads.
- 2021: The agn453/ZXCC repository is extracted from the stable 0.5.7 source.
- 2021-2025: Community updates improve HI-TECH C compatibility, Z80 emulation correctness, Windows support, and modern Unix/macOS builds.

### Related projects

- HI-TECH Z80 C: the CP/M compiler ZXCC commonly wraps for cross-compilation.
- CPMIO and CPMREDIR: the terminal and filesystem libraries split out from ZXCC's functionality.
- JOYCE: John Elliott's PCW emulator, which also used CPMREDIR.

### Sources

- <https://github.com/agn453/ZXCC>
- <https://superuser.com/questions/516833/emulating-cp-m-under-linux>
- <https://www.seasip.info/Unix/Zxcc/>


## 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:** zxcc
- **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


## 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.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [bochs](https://www.automicvault.com/pkg/brew/bochs/) - Shares av.db curated category or tags: cli, developer-tools, emulation, emulator.
- [crosstool-ng](https://www.automicvault.com/pkg/brew/crosstool-ng/) - Shares av.db curated category or tags: build-tools, cli, cross-compilation, developer-tools.
- [wy60](https://www.automicvault.com/pkg/brew/wy60/) - Shares av.db curated category or tags: cli, developer-tools, emulation.
- [aarch64-elf-binutils](https://www.automicvault.com/pkg/brew/aarch64-elf-binutils/) - Shares av.db curated category or tags: build-tools, cli, cross-compilation, developer-tools.
- [aarch64-elf-gcc](https://www.automicvault.com/pkg/brew/aarch64-elf-gcc/) - Shares av.db curated category or tags: cli, cross-compilation, developer-tools.
- [arm-linux-gnueabihf-binutils](https://www.automicvault.com/pkg/brew/arm-linux-gnueabihf-binutils/) - Shares av.db curated category or tags: cli, cross-compilation, developer-tools.
- [arm-none-eabi-binutils](https://www.automicvault.com/pkg/brew/arm-none-eabi-binutils/) - Shares av.db curated category or tags: cli, cross-compilation, developer-tools.
- [arm-none-eabi-gcc](https://www.automicvault.com/pkg/brew/arm-none-eabi-gcc/) - Shares av.db curated category or tags: cli, cross-compilation, developer-tools.
- [compiledb](https://www.automicvault.com/pkg/brew/compiledb/) - Local metadata places this package in an adjacent workflow. Shared terms: build, build-tools, cli, compilation, developer.

## Combined YAML source

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