Conan Inspect [repack] Jun 2026

Running conan inspect saves you from opening recipe files manually.

: settings (e.g., OS, compiler) and options (e.g., shared vs. static). conan inspect

At its core, conan inspect evaluates a Conan recipe to retrieve metadata such as the package name, version, options, and settings. Unlike commands that calculate an entire dependency graph, inspect focuses on the and methods of a single recipe file. Running conan inspect saves you from opening recipe

name: MyLibrary version: 1.0 url: https://github.com/user/mylibrary license: MIT requires: boost/1.81.0, openssl/3.0.0 settings: os, compiler, build_type, arch options: shared: [True, False] fPIC: [True, False] default_options: shared: False fPIC: True At its core, conan inspect evaluates a Conan

conan inspect <reference_or_path> [options]

The command's primary purpose is to show what a recipe defines before you actually use it. 1. Basic Syntax (Conan 2.x) conan inspect [path] [-f format] [-r remote] Use code with caution.