macOS
brew install cliblocal Homebrew formula metadata
sudo port install clibMacPorts ports tree · devel/clib/Portfile · ソース: api.github.com
brew
clib のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install cliblocal Homebrew formula metadata
sudo port install clibMacPorts ports tree · devel/clib/Portfile · ソース: api.github.com
nix profile install nixpkgs#clibnixpkgs package indexes · pkgs/by-name/cl/clib/package.nix · ソース: api.github.com
概要
Package manager for C programming
履歴
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.
セキュリティ状態
infrastructure mutation or orchestration signal.
リスク orange · 信頼度 中 · infrastructure
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
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.json実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
clib | cli | グローバル実行可能ファイル | |
clib-build | cli | グローバル実行可能ファイル | |
clib-configure | cli | グローバル実行可能ファイル | |
clib-init | cli | グローバル実行可能ファイル | |
clib-install | cli | グローバル実行可能ファイル | |
clib-search | cli | グローバル実行可能ファイル | |
clib-uninstall | cli | グローバル実行可能ファイル | |
clib-update | cli | グローバル実行可能ファイル | |
clib-upgrade | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:clib |
|---|---|
| バージョン | 2.8.7 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/clib |
| ホームページ | https://github.com/clibs/clib |
| リポジトリ | https://github.com/clibs/clib |
| 上流ドキュメント | https://github.com/clibs/clib#readme |
| ライセンス | MIT |
| ソースアーカイブ | https://github.com/clibs/clib/archive/refs/tags/2.8.7.tar.gz |
| macOS 提供ライブラリ | curl |
| Bottle | 利用可能 (対象 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
clib
nix profile install nixpkgs#clibclib
sudo port install clibソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.