clib is a package manager for the C programming language.
The tool addresses the problem of C library discovery and distribution. C libraries are scattered across the web with poor discoverability, and many have large, unfocused footprints. clib solves this by providing a centralized way to install stand-alone "micro" C libraries. It downloads library files and checks them into your repository, allowing end-users and contributors to work without requiring clib to be installed themselves. This approach integrates into existing C workflows without friction. The tool uses a wiki-based registry that populates search results, and projects define their dependencies through a clib.json configuration file.
Developers should use clib if they want to quickly discover and install focused, lightweight C utilities without coupling to large frameworks. The tool suits projects that prefer managing dependencies as checked-in source files rather than system-wide installations. It works for both libraries and executables, with convenient shortcuts for packages from the clibs organization. The approach is particularly valuable for teams that want dependency management without imposing installation requirements on downstream users.
The project maintains active test coverage through continuous integration. Code quality is monitored through automated analysis. The tool requires libcurl as a build dependency and is available through multiple package managers and installation methods. Development follows a structured contribution process with commit hooks that enforce formatting standards for C source files.