Linux

Where Does Conan Store Packages and Config?

Conan .conan2 home folder with package cache, profiles and remotes on Linux.

Last updated

Conan 2 keeps its package cache, profiles, remotes and settings in a .conan2 folder in your home directory. Downloaded binaries accumulate here across projects, which is why the folder grows relentlessly.

Profiles define compilers and build types per workflow. Copy profiles and remotes to migrate workflows; the cache rebuilds from remotes on demand.

Where Conan stores this, by platform

Linux
~/.conan2

Holds p cache with built binaries, profiles for toolchains, remotes.json for servers, and settings. Override the home with CONAN_HOME for another disk. Prune with conan remove patterns. Copy profiles and remotes to move workflows without the gigabytes.

Frequently asked questions

Why is the Conan cache so large?

Every built configuration caches binaries under the folder above. Remove unused packages by pattern to reclaim space.

Where are Conan profiles?

In the profiles subfolder of .conan2 above. Version-control your own and share them per project.

Notice an outdated path? Let us know.