Automic VaultAutomic Vault

brew

Install c with Homebrew

Compile and execute C "scripts" in one go. Version 0.15.1 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install c

local Homebrew formula metadata

overview

Package summary

Compile and execute C "scripts" in one go

Commands and aliases

  • c

history

Project history and usage

c is a small shell-script front end for compiling and running C or C++ files in one command. Its niche is treating small C programs like scripts while still letting the user choose GCC, Clang, TCC, or another compiler through the normal CC environment variable.

Project history

The upstream Git history begins on 23 February 2015 with the initial c script and shebang support. The README frames the project as a convenience wrapper rather than a compiler: it compiles and executes C scripts in one go, and later added a cache so repeated runs can avoid unnecessary rebuilds.

Adoption history

The README documents installation through source download, AUR, bpkg, and Homebrew. Homebrew packaging gives it a low-friction macOS path for the exact use case the README highlights: putting a c executable on PATH and using it in shebangs or direct commands.

How it is used

Typical usage is `c hello.c` or a shebang such as `#!/usr/bin/c`. For multi-file programs, compiler flags and additional source files are passed in the first quoted argument, and runtime arguments follow after that.

The tool honors CC, supports cache tuning through C_CACHE_SIZE and C_CACHE_PATH, and offers `--clear-cache` for cache cleanup.

Why package nerds care

The package is a classic tiny-CLI package-manager curiosity: one executable, almost no ceremony, and enough ergonomics to make C feel like a scripting language for quick local utilities.

It is also a useful contrast with `tcc -run`: the README explicitly says c is not tied to one compiler, making it a compiler-agnostic runner rather than a language implementation.

Timeline

  • 2015-02-23: Initial c script and shebang support appear in upstream Git history.
  • 2015-03-06: v0.09 tag appears.
  • 2020-04-13: v0.12 tag appears.
  • 2025-10-06: v0.15.0 and v0.15.1 tags appear in upstream Git history.

Related projects

  • GCC, Clang, and TCC: compilers that can be selected through CC.
  • tcc -run: a related one-command C execution workflow that the README distinguishes from c.
  • bpkg and AUR packages: alternate packaging channels listed by the upstream README.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
ccliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.15.1
manager updated
local dataok
upstreamcurrent
latest detectedv0.15.1

https://github.com/ryanmjacobs/c

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:c
Version0.15.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/c
Homepagehttps://github.com/ryanmjacobs/c
Repositoryhttps://github.com/ryanmjacobs/c
Upstream docshttps://github.com/ryanmjacobs/c#readme
LicenseMIT
Source archivehttps://github.com/ryanmjacobs/c/archive/refs/tags/v0.15.1.tar.gz
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namec
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Combined YAML source

View the package source record on GitHub.

combined/c.yml

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment