Forrest logo
tool overview
On this page you find all important commands for the CLI tool conan. If the command you are looking for is missing please ask our AI.

conan

Conan is an open-source command-line tool and C/C++ package manager designed to simplify the dependency management process for C/C++ projects. It allows developers to easily create, manage, and integrate external libraries or components into their projects.

Using Conan, developers can define the dependencies required by their project in a simple text-based configuration file called "conanfile.txt" or "conanfile.py". These dependencies can be specified by providing the library name, version, and sometimes additional settings or options.

Conan is built on the concept of package recipes. A package recipe defines the necessary steps to download, build, and package a library for specific platforms and configurations. Conan has a vast collection of pre-built recipes available, known as the Conan Center Index (CCI), which allows users to easily find and use popular C/C++ libraries.

With Conan, dependencies can be resolved, downloaded, and distributed in a reproducible manner. Developers can build their project in different environments, share packages with colleagues or collaborators, and easily switch between different library versions or settings.

Moreover, Conan supports various build systems such as CMake, Make, Visual Studio, and more. It integrates well with existing build processes and provides easy integration with other popular development tools.

Conan offers a flexible and powerful package management solution for C/C++ projects, helping developers focus on writing code rather than dealing with complex dependency management.

List of commands for conan:

  • conan-frogarian:tldr:49da2 conan-frogarian: Display the conan frogarian.
    $ conan frogarian
    try on your machine
    explain this command
  • conan:tldr:16342 conan: List remotes.
    $ conan remote list
    try on your machine
    explain this command
  • conan:tldr:73655 conan: Search for locally installed packages.
    $ conan search ${package}
    try on your machine
    explain this command
  • conan:tldr:90c24 conan: Install packages, building from source.
    $ conan install ${-} --build
    try on your machine
    explain this command
  • conan:tldr:90f54 conan: Install packages and create configuration files for a specific generator.
    $ conan install -g ${generator}
    try on your machine
    explain this command
  • conan:tldr:c1107 conan: Install packages based on `conanfile.txt`.
    $ conan install ${-}
    try on your machine
    explain this command
  • conan:tldr:f23c9 conan: Search for remote packages.
    $ conan search ${package} -r ${remote}
    try on your machine
    explain this command
tool overview