macOS
brew install cliblocal Homebrew formula metadata
sudo port install clibMacPorts ports tree · devel/clib/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de clib pour les workflows d'agents IA.
installation
brew install cliblocal Homebrew formula metadata
sudo port install clibMacPorts ports tree · devel/clib/Portfile · Source: api.github.com
nix profile install nixpkgs#clibnixpkgs package indexes · pkgs/by-name/cl/clib/package.nix · Source: api.github.com
aperçu
Package manager for C programming
historique
clib is a package manager for the C programming language, built around small standalone C libraries and a `clib.json` manifest.
The clib GitHub repository was created in October 2012 and presents the project as a package manager for C. The README describes it as a way to promote small C utilities, improve discovery, and avoid pulling large frameworks into C projects.
clib's project model expects packages to describe themselves with `clib.json`, including fields such as name, version, repo, description, keywords, license, sources, and install commands. The wiki package listing acts as the registry and feeds `clib-search`.
The README documents installation through Homebrew, MacPorts, Nix, and source builds on Ubuntu and Fedora, showing packaging across both macOS package managers and Unix-like source workflows.
GitHub repository metadata showed thousands of stars at research time, and the project has continued publishing 2.x releases through 2024. That combination makes it one of the more recognizable attempts to give C a lightweight package-manager workflow.
clib is used to initialize projects, install dependencies, update or uninstall packages, configure and build dependencies, and search the registry. The README recommends checking fetched files into the consuming repository so end users and contributors do not need clib installed.
Common commands include `clib install clibs/ms clibs/commander`, installing packages into `./deps` or another output directory, and using `clib.json` to describe both libraries and executables.
clib is significant because C has no single dominant package manager comparable to npm or Cargo. clib's deliberately small model, GitHub-centered registry, vendored source expectation, and manifest format capture a practical answer to C's fragmented library-discovery problem.
For package nerds, clib sits in the lineage of language package managers but keeps C's cultural preference for source files, makefiles, and minimal runtime assumptions. Its Homebrew/MacPorts/Nix availability also made it easy to try without adopting a whole new platform.
posture de sécurité
infrastructure mutation or orchestration signal.
risque orange · confiance moyen · infrastructure
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
local files
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.
Config paths the tool may read or write during local use.
./clib.jsonexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
clib | cli | exécutable global | |
clib-build | cli | exécutable global | |
clib-configure | cli | exécutable global | |
clib-init | cli | exécutable global | |
clib-install | cli | exécutable global | |
clib-search | cli | exécutable global | |
clib-uninstall | cli | exécutable global | |
clib-update | cli | exécutable global | |
clib-upgrade | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
métadonnées d'installation
| Clé du paquet | brew:clib |
|---|---|
| Version | 2.8.7 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/clib |
| Page d'accueil | https://github.com/clibs/clib |
| Dépôt | https://github.com/clibs/clib |
| Docs amont | https://github.com/clibs/clib#readme |
| Licence | MIT |
| Archive source | https://github.com/clibs/clib/archive/refs/tags/2.8.7.tar.gz |
| Bibliothèques fournies par macOS | curl |
| Bouteille | disponible (sur arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | clib |
| 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 |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
clib
nix profile install nixpkgs#clibclib
sudo port install clibpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.