# Conan plugin

> **TL;DR**
> Plugin: [Conan](https://plugins.jetbrains.com/plugin/11956-conan) (not bundled)
>
>
>
> Conan version: 2.0.5 or later
>
>
>
> Project format: CMake
>
>
>
> CMake version: 3.24 or later

The Conan plugin by [JFrog](https://jfrog.com) allows you to work with Conan, a package manager for C/C++, without leaving CLion. The plugin integrates Conan with CMake using a [dependency provider](https://cmake.org/cmake/help/latest/guide/using-dependencies/index.html#dependency-providers) , [cmake-conan](https://github.com/conan-io/cmake-conan/tree/develop2). This dependency provider translates the CMake configuration to Conan.

Procedure: Install Conan

1. Follow the official [installation guide](https://docs.conan.io/1/installation.html) to install Conan on your system.

Procedure: Install the Conan plugin

1. Go to `Settings | Plugins`.

2. Search for Conan in the Marketplace tab.

![Install the Conan plugin from CLion](https://resources.jetbrains.com/help/img/idea/2026.2/cl_conan_plugininstall.png)

3. Click Install.

4. In the dialog that opens, click Accept:

![Accept installing a third party plugin](https://resources.jetbrains.com/help/img/idea/2026.2/cl_conan_accepthirdpartyplugin.png)

5. Restart CLion.

Procedure: Configure the plugin

1. Select `View | Tool windows | Conan` from the main menu or click the Conan icon to open the plugin tool window:

![Conan tool window icon](https://resources.jetbrains.com/help/img/idea/2026.2/cl_conan_twicon.png)

2. Click ![](https://resources.jetbrains.com/help/img/idea/2026.2/app.expui.general.settings.svg).

3. ![Conan plugin settings](https://resources.jetbrains.com/help/img/idea/2026.2/cl_conan_settings.png)

* Provide the path to the Conan client executable or set the Use Conan installed in the system checkbox to use the one installed at the system level.

* In the Use Conan for the following configurations section, set or clear the checkboxes that correspond to [CMake profiles](cmake-profile.html).

* The Automatically add Conan support for all configurations option is enabled by default: the plugin will add Conan support for new profiles.

* The last checkbox, also enabled by default, allows Conan to run CMake sequentially instead of running it in parallel. This is needed as the Conan cache is not concurrent up to Conan 2.0.9 version.

4. Click Ok.

> **Note:**
> You will see a warning in the CMake output indicating that the `find_package()` commands are not added to `CMakeLists.txt`. These commands will be added later, so you can safely ignore this warning.

Procedure: Add libraries to your project

1. Start typing the library name in the search field and select from the list of results:

![Search for a library](https://resources.jetbrains.com/help/img/idea/2026.2/cl_conan_searchresult.png)

2. Choose the library version and click Use in project:

![Adding a library to the project](https://resources.jetbrains.com/help/img/idea/2026.2/cl_conan_useinprj_button.png)

3. Click ![](https://resources.jetbrains.com/help/img/idea/2026.2/app-client.expui.general.inspections.inspectionsEye.svg).

![Explore the added libraries](https://resources.jetbrains.com/help/img/idea/2026.2/cl_conan_explorelibs_dialog.png)

This dialog shows all the libraries added to the project, with basic target information and code snippets to be added to CMake.

> **Tip:**
> Conan stores information about the used packages in a `conandata.yml` file located in the project folder. This file is read by `conanfile.py`. These files can be customized for advanced usage of the plugin.

4. Add commands to `CMakeLists.txt` according to the instructions. For example:

```CMAKE
find_package(CURL)
target_link_libraries(calendar_run CURL::libcurl)
```

5. Click the CMake reload icon in the editor or select `Tools | CMake | Reload CMake project`.

![Reload CMake project](https://resources.jetbrains.com/help/img/idea/2026.2/cl_conan_reloadproject.png)

> **Note:**
> The libraries are installed at the CMake configuration step.

After the CMake configuration finishes, you can  [build](build-actions.html) and [run](running-applications.html) / [debug](debugging-code.html) your application as usual.

Procedure: Update packages

1. Click ![](https://resources.jetbrains.com/help/img/idea/2026.2/app.expui.general.refresh.svg) in the Conan tool window to update the packages and the dependency provider:

![Update packages](https://resources.jetbrains.com/help/img/idea/2026.2/cl_conan_updatedependencies.png)

## See also

### How tos

[vcpkg integration](package-management.html)

### Tutorials

[Quick CMake tutorial](quick-cmake-tutorial.html)

### External Links

[CLion blog: Introducing the New CLion Conan Plugin](https://blog.jetbrains.com/clion/2023/09/introducing-the-new-clion-conan-plugin/)

