# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, scoop 安装 cc65

查看 cc65 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:cc65
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cc65
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cc65
```

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

### Linux

- apk (92%):

```sh
sudo apk add cc65
```

  证据: Alpine Linux edge package indexes: cc65 from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install cc65
```

  证据: Debian stable package indexes: cc65 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install cc65
```

  证据: Fedora Rawhide package metadata: cc65 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#cc65
```

  证据: nixpkgs package indexes: pkgs/by-name/cc/cc65/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/cc65
```

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

## 软件包事实

- **软件包键:** brew:cc65
- **软件包管理器:** Homebrew
- **版本:** 2.19
- **来源摘要:** 6502 C compiler
- **主页:** <https://cc65.github.io/cc65/>
- **仓库:** <https://github.com/cc65/cc65>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- ar65 (别名)
- ca65 (别名)
- cc65 (别名)
- chrcvt65 (别名)
- cl65 (别名)
- co65 (别名)
- da65 (别名)
- grc65 (别名)
- ld65 (别名)
- od65 (别名)
- sim65 (别名)
- sp65 (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.19
## 项目历史与用法

cc65 is a complete cross-development toolchain for 65(C)02 systems, including a C compiler, macro assembler, linker, archiver, simulator, and supporting tools.

### 项目历史

The official README traces cc65 to Ron Cain's Small C, enhanced by James E. Hendrix, then to John R. Dunning's Atari-hosted compiler/runtime implementation. Ullrich von Bassewitz moved the code to modern systems, rewrote most of the compiler, and rewrote the runtime library.

### 采用历史

cc65 became a long-lived retrocomputing toolchain because it supports many 6502-family targets, including Apple II, Atari 8-bit systems, Commodore machines, NES, Oric, BBC, PC Engine, KIM-1, Commander X16, and others. The supplied package facts show it is packaged across Homebrew, Debian, Fedora, MacPorts, Nix, Scoop, Ubuntu, and Alpine.

### 使用方式

Developers use cc65 to build C and assembly programs for old 6502-family machines and custom hardware. The official documentation covers each tool and shows that ld65 linker configuration files define output layout, memory areas, and segment placement.

### 为什么软件包爱好者会关心

cc65 is a classic package-manager fixture: a portable cross-compiler suite that lets modern hosts build software for many constrained historic targets. Its many small executables also make it a good test case for toolchain packaging, documentation paths, and target-library layout.

### Related projects

- Small C, ca65, ld65, cl65, sim65, and target ecosystems for Apple II, Atari, Commodore, NES, and other 65(C)02 machines.

### 来源

- <https://api.github.com/repos/cc65/cc65>
- <https://github.com/cc65/cc65>
- <https://cc65.github.io/cc65/>
- <https://cc65.github.io/doc>
- <https://cc65.github.io/doc/cc65.html>
- <https://cc65.github.io/doc/ld65.html>
- <https://cc65.github.io/getting-started.html>
- <https://formulae.brew.sh/api/formula/cc65.json>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: current directory, directories passed with --cfg-path, $LD65_CFG, $CC65_HOME/cfg
## 其他软件包管理器记录

- Debian apt - cc65 - 2.19-2: normalized package name match | Debian stable package indexes: cc65 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | complete cross development package for 65(C)02 systems | https://cc65.github.io/cc65/
- Debian apt - cc65-doc - 2.19-2: normalized package name match | Debian stable package indexes: cc65-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | cc65 documentation | https://cc65.github.io/cc65/
- Nix - cc65: normalized package name match | nixpkgs package indexes: pkgs/by-name/cc/cc65/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - cc65 - 2.19-1: normalized package name match | Ubuntu 24.04 LTS package indexes: cc65 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | complete cross development package for 65(C)02 systems | https://cc65.github.io/cc65/
- Ubuntu apt - cc65-doc - 2.19-1: normalized package name match | Ubuntu 24.04 LTS package indexes: cc65-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | cc65 documentation | https://cc65.github.io/cc65/
- apk - cc65 - 2.19-r0: normalized package name match | Alpine Linux edge package indexes: cc65 from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Compiler Suite for 6502 based processors | https://cc65.github.io/
- dnf - cc65 - 2.19-16.fc45: normalized package name match | Fedora Rawhide package metadata: cc65 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A free C compiler for 6502 based systems | https://cc65.github.io
- dnf - cc65-devel - 2.19-16.fc45: normalized package name match | Fedora Rawhide package metadata: cc65-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for cc65 | https://cc65.github.io
- dnf - cc65-doc - 2.19-16.fc45: normalized package name match | Fedora Rawhide package metadata: cc65-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Documentation files for cc65 | https://cc65.github.io
- dnf - cc65-utils - 2.19-16.fc45: normalized package name match | Fedora Rawhide package metadata: cc65-utils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Additional utilities for cc65 | https://cc65.github.io
- MacPorts - cc65: normalized package name match | MacPorts ports tree: lang/cc65/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/cc65: normalized package name match | Scoop official bucket manifest trees: bucket/cc65.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

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