Automic VaultAutomic Vault

brew

clib を Homebrew, MacPorts, Nix でインストール

clib のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install clib

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install clib

MacPorts ports tree · devel/clib/Portfile · ソース: api.github.com

Linux

Nix確認済み · 92%
nix profile install nixpkgs#clib

nixpkgs package indexes · pkgs/by-name/cl/clib/package.nix · ソース: api.github.com

概要

パッケージ概要

Package manager for C programming

コマンドとエイリアス

  • clib
  • clib-build
  • clib-configure
  • clib-init
  • clib-install
  • clib-search
  • clib-uninstall
  • clib-update
  • clib-upgrade

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 2012: The GitHub repository is created.
  • 2017: GitHub release metadata records clib 1.8.1.
  • 2023: GitHub release metadata records clib 2.8.3 and 2.8.5.
  • 2024: GitHub release metadata records clib 2.8.7.

Related projects

  • The clibs GitHub organization and clib wiki package list are related because the README describes them as the package registry.
  • Homebrew, MacPorts, and Nix are related distribution channels documented by the README and input package metadata.
  • libcurl is a build dependency named by the README.

セキュリティ状態

リスクレベル: orange

infrastructure mutation or orchestration signal.

リスク分類器

リスク orange · 信頼度 中 · infrastructure

理由

  • infrastructure mutation or orchestration signal

信号

  • text:package manager

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 10 個のプラットフォームターゲットで利用できます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

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

Config paths the tool may read or write during local use.

Unix
./clib.json

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
clibcliグローバル実行可能ファイル
clib-buildcliグローバル実行可能ファイル
clib-configurecliグローバル実行可能ファイル
clib-initcliグローバル実行可能ファイル
clib-installcliグローバル実行可能ファイル
clib-searchcliグローバル実行可能ファイル
clib-uninstallcliグローバル実行可能ファイル
clib-updatecliグローバル実行可能ファイル
clib-upgradecliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-09
マネージャ版2.8.7
マネージャ更新日
ローカルデータOK
上流最新
検出された最新2.8.7

https://github.com/clibs/clib

  • 情報No package-manager update timestamp was available.信頼度 低

インストールメタデータ

パッケージメタデータ

パッケージキー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 DatabaseHomebrew formula API
Taphomebrew/core
Full Nameclib
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

clib

nix profile install nixpkgs#clib
  • normalized package name match
  • 一致条件: Clib
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/cl/clib/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

clib

sudo port install clib
  • normalized package name match
  • 一致条件: Clib
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/clib/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment