conan inspect zlib/1.2.13@ --format=json | jq '.version'

: If your recipe inherits logic from another "base" recipe, conan inspect will resolve those dependencies to show the final evaluated attributes. When to Use Other Commands

conan inspect is a small but mighty tool for any Conan user. Next time you wonder “What settings does this package support?” — reach for conan inspect before opening your editor.

While conan inspect is powerful, it is not always the right tool: conan inspect — conan 2.28.1 documentation

conan inspect is a command used in Conan, a package manager for C/C++ that helps manage dependencies and build packages. The conan inspect command allows you to gather detailed information about a package, including its dependencies, settings, and other relevant data. This guide provides a detailed overview of how to use conan inspect to examine packages.

: Used to fetch python_requires if the local recipe depends on them. 2. Key Attributes Inspected

: The folder containing a conanfile.py . Defaults to the current directory.

conan inspect <reference_or_path> [options]

conan inspect zlib/1.2.13@

: To see what build options (like shared or fPIC ) a library supports: conan inspect . Use code with caution.