Skip to content

pixi search#

Search a conda package

Usage#

pixi search [OPTIONS] <PACKAGE>

Arguments#

  • <PACKAGE>
    MatchSpec of a package to search
    required: true

Options#

  • --channel (-c) <CHANNEL>
    The channels to consider as a name or a url. Multiple channels can be specified by using this field multiple times
    May be provided more than once.
  • --platform (-p) <PLATFORM>
    The platform to search packages for. By default, searches all platforms from the manifest (or all known platforms if no manifest is found). Accepts a workspace platform name; a bare conda subdir (e.g. linux-64) is also accepted
  • --limit (-l) <LIMIT>
    Limit the number of versions shown per package, -1 for no limit
    default: 5
  • --limit-packages (-n) <LIMIT_PACKAGES>
    Limit the number of packages shown, -1 for no limit
    default: 5
  • --json
    Output in JSON format

Config Options#

  • --no-config
    Don't read system or user-level configuration files. Project-local <project>/.pixi/config.toml is still loaded
    env: PIXI_NO_CONFIG
    default: false
  • --config-file <PATH>
    Load configuration from this file instead of searching system and user-level paths. Project-local <project>/.pixi/config.toml is still merged on top
    env: PIXI_CONFIG_FILE

Global Options#

Description#

Search a conda package

Its output will list the latest version of package.

Examples#

pixi search pixi
pixi search --limit 30 "py*"
# search in a different channel and for a specific platform
pixi search -c robostack --platform linux-64 "*plotjuggler*"
# search for a specific version of a package
pixi search "rattler-build<=0.35.4"
pixi search "rattler-build[build_number=h2d22210_0]" --platform linux-64