Conan Inspect

The conan inspect command is a utility provided by the Conan package manager (versions 1.x and 2.x) used to retrieve and display the attributes and metadata of a specific package recipe without actually installing the package or generating any build files.

: To extract the version of a package into a variable using a tool like jq: conan inspect . -f json | jq -r '.version' Use code with caution. conan inspect