# 使用 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
- **版本:** 0.8.2
- **来源摘要:** Compiler for the C3 language
- **主页:** <https://c3-lang.org>
- **仓库:** <https://github.com/c3lang/c3c>
- **最后更新:** 2026-07-11T20:59:56Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- c3c (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.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。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 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
## 其他软件包管理器记录

- 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


## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
