Conan
$ conan Official Med RiskConan (conan) v2 is the leading cross-platform C/C++ package and binary artifact manager supporting CMake, Meson, and MSBuild toolchains. It provides --format=json across graph info, inspect, list, and search, plus lockfiles and --dry-run on cache cleanup.
brew install conan conan resolves native ABI binary compatibility, builds C/C++ recipes, and generates CMake/Meson toolchain files locally on disk.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Conan v2 supports --format=json on graph info, inspect, list, search, and create, runs non-interactively by default, and offers --dry-run on remove.
conan graph info . --format=jsonandconan list --format=jsonemit rich structured JSON- Non-interactive execution without TTY prompts
Isolated ~/.conan2 cache and lockfiles (conan.lock), though conanfile.py recipes execute arbitrary Python and build systems when --build=missing triggers compilation.
--build=neverprevents unexpected source compilationconan remove --dry-runpreviews cache deletions
Installable via Homebrew, PyPI, pipx, uvx, and standalone bundles on macOS, Linux, and Windows, requiring host C/C++ compilers to build packages.
- Cross-platform via
brew install conanandpip install conan
Handles complex C/C++ ABI settings (OS, arch, compiler, stdlib) and prebuilt ConanCenter binaries cleanly.
- Generates ready-to-use
conan_toolchain.cmakeandMesonToolchain
Official conan-io/conan project backed by JFrog under MIT license.
- Maintained by JFrog / Conan (
conan-io/conan)
Comprehensive Conan 2 documentation at docs.conan.io/2/ and detailed --help.
- Official Conan v2 command reference at docs.conan.io/2
Security, Auth & Guardrails
ConanCenter reads require no auth; private Artifactory/Conan remote tokens are stored in ~/.conan2/credentials.json or CONAN_LOGIN_USERNAME / CONAN_PASSWORD env vars.
MIT open-source CLI; free to use with ConanCenter or self-hosted remotes.
# Conan (conan) Agent Rules - Run `conan graph info . --format=json` to inspect resolved ABI profiles and licenses before installing. - Use `--build=never` or `--build=missing` intentionally, and never run `conan upload` without explicit user approval.
Agent-Ready Command Recipes
Safe Read-Only Queries
conan graph info . --format=json
Evaluates the C/C++ dependency graph for the active profile and emits full node metadata as JSON.
conan list "zlib/*" --format=json
Lists matching package recipes and binary revisions in structured JSON.
Controlled Writes & Previews
conan install . --output-folder=build --build=never
Fetches prebuilt binaries and generates toolchain files while failing fast instead of compiling missing sources.
Strengths for Agents
- + Conan v2 provides
--format=jsonacrossgraph info,inspect,list, andsearch. - + Seamless toolchain integration with CMake, Meson, and MSBuild.
- +
--build=neverandconan.lockkeep binary dependency resolution deterministic.
Caveats & Pitfalls
- ! First-time use requires generating a default host profile (
conan profile detect). - ! Building missing C/C++ dependencies from source (
--build=missing) can be slow and noisy.