Logo
2.14
You are searching the docs for Conan 2.14.0, which is not the latest release. Results below reflect this version only. Switch to the latest docs →
  • Introduction
  • What’s new in Conan 2
  • Install
  • Tutorial
  • CI Tutorial
  • Devops guide
  • Integrations
  • Examples
  • Reference
    • Commands
      • conan audit
      • conan audit scan
      • conan audit list
      • conan audit provider
      • conan cache
      • conan config
      • conan graph
      • conan inspect
      • conan install
      • conan list
      • conan lock
      • conan pkglist
      • conan profile
      • conan remove
      • conan remote
      • conan search
      • conan version
      • conan build
      • conan create
      • conan download
      • conan editable
      • conan export
      • conan export-pkg
      • conan new
      • conan source
      • conan test
      • conan upload
      • Formatter: Graph-info JSON
    • conanfile.py
    • conanfile.txt
    • Recipe tools
    • Configuration files
    • Extensions
    • Environment variables
    • The binary model
    • Conan Server
    • Runners
  • Knowledge
  • Incubating features
  • Changelog
conan

📖 The complete Conan 2 training is now available for free on JFrog Academy: Essentials and Advanced.

  • Reference
  • Commands
  • conan search

conan search¶

Search existing recipes in remotes. This command is equivalent to conan list <query> -r=*, and is provided for simpler UX.

$ conan search -h
usage: conan search [-h] [-v [V]] [-cc CORE_CONF] [-f FORMAT]
                    [--out-file OUT_FILE] [-r REMOTE]
                    reference

Search for package recipes in all the remotes (by default), or a remote.

positional arguments:
  reference             Recipe reference to search for. It can contain * as
                        wildcard at any reference field.

options:
  -h, --help            show this help message and exit
  -v [V]                Level of detail of the output. Valid options from less
                        verbose to more verbose: -vquiet, -verror, -vwarning,
                        -vnotice, -vstatus, -v or -vverbose, -vv or -vdebug,
                        -vvv or -vtrace
  -cc CORE_CONF, --core-conf CORE_CONF
                        Define core configuration, overwriting global.conf
                        values. E.g.: -cc core:non_interactive=True
  -f FORMAT, --format FORMAT
                        Select the output format: json
  --out-file OUT_FILE   Write the output of the command to the specified file
                        instead of stdout.
  -r REMOTE, --remote REMOTE
                        Remote names. Accepts wildcards. If not specified it
                        searches in all the remotes
$ conan search zlib
conancenter
  zlib
    zlib/1.2.8
    zlib/1.2.11
    zlib/1.2.12
    zlib/1.2.13

$ conan search zlib -r=conancenter
conancenter
  zlib
    zlib/1.2.8
    zlib/1.2.11
    zlib/1.2.12
    zlib/1.2.13

$ conan search zlib/1.2.1* -r=conancenter
conancenter
  zlib
    zlib/1.2.11
    zlib/1.2.12
    zlib/1.2.13

$ conan search zlib/1.2.1* -r=conancenter --format=json
{
    "conancenter": {
        "zlib/1.2.11": {},
        "zlib/1.2.12": {},
        "zlib/1.2.13": {}
    }
}
Previous Next

© Copyright 2016-2024, JFrog. Last updated on May 28, 2026.

Version: 2.14
Versions
2.29
2.28
2.27
2.26
2.25
2.24
2.23
2.22
2.21
2.20
2.19
2.18
2.17
2.16
2.15
2.14
2.13
2.12
2.11
2.10
2.9
2.8
2.7
2.6
2.5
2.4
2.3
2.2
2.1
2.0
2

Conan 1 releases
1
1.66
1.65
1.64
1.63
1.62
1.61
1.60
1.59
1.58
1.57
1.56
1.55
1.54
1.53
1.52
1.51
1.50
1.49
1.48
1.47
1.46
1.45
1.44
1.43
1.42
1.41
1.40
1.39
1.38
1.37
1.36
1.35
1.34
1.33
1.32
1.31
1.30
1.29
1.28
1.27
1.26
1.25
1.24
1.23
1.22
1.21
1.20
1.19
1.18
1.17
1.16
1.15
1.14
1.13
1.12
1.11
1.10
1.9
1.8
1.7
1.6
1.5
1.4
1.3
Downloads
PDF