Skip to main content
Search for conda packages across channels.

Usage

Description

The pixi search command searches for conda packages across configured channels. It displays the latest version of each package by default, with options to show more versions and detailed package information.

Arguments

string
required
MatchSpec of a package to search. Can include version constraints.

Options

string
Additional channels to search (can be specified multiple times).
platform
The platform to search for. By default, searches all platforms from the manifest (or all known platforms if no manifest is found).
integer
default:"5"
Limit the number of versions shown per package. Use -1 for no limit.
integer
default:"5"
Limit the number of packages shown. Use -1 for no limit.
boolean
Output in JSON format. Conflicts with --limit and --limit-packages.

Examples

Search for a package by name:

Search with version constraint

Search for packages matching a version requirement:

Search specific channels

Search in specific channels:

Show all versions

Display all available versions of a package:

Search for specific platform

Search for packages available on a specific platform:

JSON output

Get search results in JSON format for processing:

Output Format

Single Package (Detailed View)

When searching for a single package, detailed information is shown:

Multiple Packages (Summary View)

When searching returns multiple packages, a compact summary is shown:
  • pixi add - Add packages to your workspace
  • pixi info - Show package and environment information