mamba-repoquery
Search package information within a mamba repository
TLDR
Search for all available versions of a particular package
Search for all packages satisfying specific constraints
List the dependencies of a package installed in the currently activated environment, in a tree format
Print packages in the current environment that require a particular package to be installed (i.e. inverse of depends)
SYNOPSIS
mamba repoquery [options]
PARAMETERS
--help
Show the help message and exit.
--json
Output the results in JSON format. Useful for scripting and automation.
--name
Search for packages with a specific name.
--channel
Specify the channel to search in. You can use multiple --channel options.
--all
Display all available packages, with detailed information.
--installed
Display information about installed packages only.
--depends
List the dependencies of a specific package.
--tree
Display the dependencies in a tree-like structure.
--whatrequires
List packages that depend on a specified package
--platform
Specify the target platform (e.g., linux-64, osx-arm64).
DESCRIPTION
The mamba-repoquery
command is a powerful tool within the mamba package manager ecosystem, enabling users to efficiently query package repositories for detailed information. This is particularly useful for understanding package dependencies, available versions, and other metadata. It is a faster alternative to querying with conda. It can be used in scripting and automation scenarios.
It can be used to search for packages matching specific criteria and retrieve extensive information about packages available in the configured channels without fully installing or resolving an environment.
USAGE EXAMPLES
- To search for a specific package:
mamba repoquery search --name numpy
- To list the dependencies of a package:
mamba repoquery depends --name numpy
- To output results in JSON format:
mamba repoquery search --name numpy --json