2025-03-14 21:59:59 -06:00
|
|
|
# conan
|
|
|
|
|
|
|
|
|
|
> The open source, decentralized and cross-platform package manager to create and share all your native binaries.
|
|
|
|
|
> Some subcommands such as `frogarian` have their own usage documentation.
|
2025-12-16 10:20:31 -07:00
|
|
|
> More information: <https://docs.conan.io/2/reference/commands.html>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Install packages based on `conanfile.txt`:
|
|
|
|
|
|
|
|
|
|
`conan install {{.}}`
|
|
|
|
|
|
|
|
|
|
- Install packages and create configuration files for a specific generator:
|
|
|
|
|
|
|
|
|
|
`conan install -g {{generator}}`
|
|
|
|
|
|
|
|
|
|
- Install packages, building from source:
|
|
|
|
|
|
|
|
|
|
`conan install {{.}} --build`
|
|
|
|
|
|
|
|
|
|
- Search for locally installed packages:
|
|
|
|
|
|
|
|
|
|
`conan search {{package}}`
|
|
|
|
|
|
|
|
|
|
- Search for remote packages:
|
|
|
|
|
|
|
|
|
|
`conan search {{package}} -r {{remote}}`
|
|
|
|
|
|
|
|
|
|
- List remotes:
|
|
|
|
|
|
|
|
|
|
`conan remote list`
|