macOS
brew install clocal Homebrew formula metadata
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für c in AI-Agent-Workflows.
Installation
brew install clocal Homebrew formula metadata
Überblick
Compile and execute C "scripts" in one go
Verlauf
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.
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.
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.
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.
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.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
c | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/ryanmjacobs/c
Installationsmetadaten
| Paketschlüssel | brew:c |
|---|---|
| Version | 0.15.1 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/c |
| Homepage | https://github.com/ryanmjacobs/c |
| Repository | https://github.com/ryanmjacobs/c |
| Upstream-Dokumentation | https://github.com/ryanmjacobs/c#readme |
| Lizenz | MIT |
| Quellarchiv | https://github.com/ryanmjacobs/c/archive/refs/tags/v0.15.1.tar.gz |
| Bottle | verfügbar (auf all) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | c |
| 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 |
|
Quellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.