conan-io /conan

Conan - The open-source C and C++ package manager

★ 9,565⑂ 1,140👁 129⑃ 7,488● 12,526▤ 333
PythonMITCreated 2015-12-01conan.io
下载:2.34.0 (28-Oct-2026)2.34.0 ↓2.34.02026-10-28
+1
日增长
9,565
stars
1,140
forks
129
watchers
7,488
prs
12,526
issues
333
releases

README

Conan

Decentralized, open-source (MIT), C/C++ package manager.

- Homepage: https://conan.io/
- Github: https://github.com/conan-io/conan
- Docs: https://docs.conan.io
- Slack: https://cpplang.slack.com (conan channel. Please, click here to get an invitation)
- Twitter: https://twitter.com/conan_io
- Blog: https://blog.conan.io
- Security reports: https://jfrog.com/trust/report-vulnerability


Conan is a package manager for C and C++ developers:

- It is fully decentralized. Users can host their packages on their servers, privately. Integrates with Artifactory and Bintray.
- Portable. Works across all platforms, including Linux, OSX, Windows (with native and first-class support, WSL, MinGW),
  Solaris, FreeBSD, embedded and cross-compiling, docker, WSL
- Manage binaries. It can create, upload and download binaries for any configuration and platform,
  even cross-compiling, saving lots of time in development and continuous integration. The binary compatibility can be configured
  and customized. Manage all your artifacts in the same way on all platforms.
- Integrates with any build system, including any proprietary and custom one. Provides tested support for major build systems
  (CMake, MSBuild, Makefiles, Meson, etc).
- Extensible: Its Python-based recipes, together with extension points allow for great power and flexibility.
- Large and active community, especially in GitHub (https://github.com/conan-io/conan) and Slack (https://cppalliance.org/slack/ conan channel).
  This community also creates and maintains packages in ConanCenter and Bincrafters repositories in Bintray.
- Stable. Used in production by many companies, since 1.0 there is a commitment not to break package recipes and documented behavior.


This is the developer/maintainer documentation. For user documentation, go to https://docs.conan.io


 Setup

You can run Conan from source in Windows, MacOS, and Linux:

- Install pip following pip docs.

- Clone Conan repository:

  bash
  $ git clone https://github.com/conan-io/conan.git conan-io
  

   Note: repository directory name matters, some directories are known to be problematic to run tests (e.g. conan). conan-io directory name was tested and guaranteed to be working.

- Install in editable mode

  bash
  $ cd conan-io && sudo pip install -e .
  

  If you are in Windows, using sudo is not required. Some Linux distros won't allow you to put Python packages in editable mode in the root Python installation, and creating a virtual environment venv first, is mandatory.

- You are ready, try to run Conan:

  bash
  $ conan --help

  Consumer commands
    install    Installs the requirements specified in a recipe (conanfile.py or conanfile.txt).
    ...

    Conan commands. Type "conan  -h" for help
  

 Contributing to the project


Feedback and contribution are always welcome in this project.
Please read our contributing guide.
Also, if you plan to contribute, please add some testing for your changes. You can read the Conan
tests g

Top issues

Latest release

2.34.0 (28-Oct-2026) 2.34.0 2026-10-28
- Feature: Define /MP in CMakeToolchain for clang-cl with Visual Studio generators (ClangCL toolset), like msvc. (https://github.com/conan-io/conan/pull/20439)
- Feature: Reduce local cache sqlite3 DB calls (33% fewer for regular installs with cached packages). (https://github.com/conan-io/conan/pull/20434)
- Feature: Simplify the build step terminal output, removing duplicated package references. (https://github.com/conan-io/conan/pull/20426)
- Feature: Add CMAKE_PREFIX_PATH as fallback to CMakeConfigDeps for cases beyond the _DIR variable. (https://github.com/conan-io/conan/pull/20420). Docs

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON