# 使用 Homebrew, Nix, pacman 安装 c3c

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

## 安装

```sh
sudo av install brew:c3c
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install c3c
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#c3c
```

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

- pacman (92%):

```sh
sudo pacman -S c3c
```

  证据: Arch Linux sync databases: c3c from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:c3c
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/c3c>
- **版本:** 0.8.2
- **来源摘要:** Compiler for the C3 language
- **主页:** <https://c3-lang.org>
- **仓库:** <https://github.com/c3lang/c3c>
- **上游文档:** <https://c3-lang.org>
- **许可证:** LGPL-3.0-only
- **源码归档:** <https://github.com/c3lang/c3c/archive/refs/tags/v0.8.2.tar.gz>
- **最后更新:** 2026-07-11T20:59:56Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- c3c (cli)
- c3c (别名)

## 依赖

- lld
- llvm

## 构建依赖

- cmake

## macOS 提供的库

- curl

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.8.2
- 管理器更新时间: 2026-07-11
- 本地数据: OK
- 上游仓库: https://github.com/c3lang/c3c
- 检测到的最新版本: v0.8.2 (当前)
## 项目历史与用法

C3C is the reference compiler for C3, a systems programming language that presents itself as an evolutionary C-like language for programmers who want C syntax, C ABI compatibility, and more modern safety and metaprogramming conveniences.

### 项目历史

The official C3 materials describe the language as building on C syntax and semantics while retaining familiarity for C programmers. The compiler project is organized around that goal: it ships prebuilt compiler binaries, a standard library, build commands, project templates, and a declarative project.json format.

The C3 project explicitly cites the C2 language as an inspiration for iterating on C without becoming a wholly new language. Its design principles emphasize procedural programming, staying close to C, C ABI compatibility, a modest language surface, and adding higher-level conveniences only where the value is high.

By the 0.8.x series, the official roadmap described C3 as feature-stable enough to run in production with the usual caveats for pre-1.0 software. The roadmap targets 0.9 in 2027 and 1.0 in 2028, with 1.0 meaning a language freeze while the standard library can continue to evolve.

### 采用历史

C3C adoption is still early compared with established systems languages, but the project has moved beyond an experimental compiler-only artifact. Official releases provide binaries for Windows, Linux, macOS, and OpenBSD, and the README documents verified compiler builds across Windows, macOS, Linux, OpenBSD, and NetBSD.

The project uses a showcase repository and community channels to collect user projects and feedback. Its own demonstration of compiling a modified vkQuake with a portion converted to C3 is a practical adoption signal for the language's C interop story.

### 使用方式

Package-manager users install c3c to get the C3 compiler executable. Typical usage begins with c3c init to create a project, project.json to describe targets and build settings, and c3c build or c3c run to compile and execute a project.

The language is aimed at systems and C-adjacent application work. Official materials highlight C ABI compatibility, modules, semantic macros, compile-time reflection, generic modules, slices, contracts, defer, value methods, and built-in build tooling.

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

For package nerds, c3c is interesting because it packages an emerging C-family language as a single CLI compiler with its own project format instead of delegating all build metadata to CMake, Meson, or make. It sits in the same modern systems-language conversation as Zig, Odin, Jai, Rust, and D, but keeps a deliberate C-like surface.

Its Homebrew, Nix, and pacman packaging means the compiler has crossed the threshold from source-only curiosity to something users expect to install through normal developer package channels.

### 时间线

- 2025: The 0.7 release series was published through GitHub releases.
- 2026-05-12: Version 0.8.0 was released.
- 2026-06-10: Version 0.8.1 was released and documented as the current stable compiler in the README.
- 2027-06-01: The official roadmap targets C3 0.9.
- 2028-06-01: The official roadmap targets C3 1.0.

### Related projects

- C2 is named by the C3 README as a direct inspiration.
- vkQuake is used by the C3 project as a C interop demonstration.
- The official comparison page discusses C, C++, Rust, Zig, Jai, Odin, and D as nearby systems-language reference points.

### 来源

- <https://c3-lang.org/>
- <https://c3-lang.org/faq/compare-languages/>
- <https://c3-lang.org/getting-started/projects/>
- <https://c3-lang.org/getting-started/roadmap/>
- <https://github.com/c3lang/c3c>
- <https://github.com/c3lang/c3c/releases>


## 安全说明

没有找到 c3c 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## 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: project.json
- Windows: project.json
## 源数据库详情

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

## 其他软件包管理器记录

- Nix - c3c: normalized package name match | nixpkgs package indexes: pkgs/by-name/c3/c3c/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - c3c - 0.8.2-1: normalized package name match | Arch Linux sync databases: c3c from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Compiler for the C3 language | https://github.com/c3lang/c3c


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [llvm](https://pkg.so/zh-hans/brew/llvm/) - Runtime dependency declared by Homebrew.
- [lld](https://pkg.so/zh-hans/brew/lld/) - Runtime dependency declared by Homebrew.
- [cmake](https://pkg.so/zh-hans/brew/cmake/) - Build dependency declared by Homebrew.
- [lisette](https://pkg.so/zh-hans/brew/lisette/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime, programming-language.
- [dmd](https://pkg.so/zh-hans/brew/dmd/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime, programming-language.
- [nesc](https://pkg.so/zh-hans/brew/nesc/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime, programming-language.
- [ats2-postiats](https://pkg.so/zh-hans/brew/ats2-postiats/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime, programming-language.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime, programming-language, systems-programming.
- [orc](https://pkg.so/zh-hans/brew/orc/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime.
- [zig](https://pkg.so/zh-hans/brew/zig/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime, programming-language, systems-programming.
- [swift](https://pkg.so/zh-hans/brew/swift/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime, programming-language, systems-programming.
- [odin](https://pkg.so/zh-hans/brew/odin/) - Local package facts share a topical domain. Shared terms: cli, compiler, language, language-runtime, lld.

## Combined YAML source

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


## 来源

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