pixi search#
Search a conda package
Usage#
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.tomlis 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.tomlis still merged on top
env:PIXI_CONFIG_FILE
-
--auth-file <AUTH_FILE>- Path to the file containing the authentication token
-
--concurrent-downloads <CONCURRENT_DOWNLOADS>- Max concurrent network requests, default is
50
-
--concurrent-solves <CONCURRENT_SOLVES>- Max concurrent solves, default is the number of CPUs
-
--pinning-strategy <PINNING_STRATEGY>- Set pinning strategy
options:semver,minor,major,latest-up,exact-version,no-pin
-
--pypi-keyring-provider <PYPI_KEYRING_PROVIDER>- Specifies whether to use the keyring to look up credentials for PyPI
options:disabled,subprocess
-
--run-post-link-scripts- Run post-link scripts (insecure)
-
--no-symbolic-links- Disallow symbolic links during package installation
env:PIXI_NO_SYMBOLIC_LINKS
-
--no-hard-links- Disallow hard links during package installation
env:PIXI_NO_HARD_LINKS
-
--no-ref-links- Disallow ref links (copy-on-write) during package installation
env:PIXI_NO_REF_LINKS
-
--tls-no-verify- Do not verify the TLS certificate of the server
-
--offline=<OFFLINE>- Run without network access, using only cached data. Commands fail if data is missing from the cache. Pass
--offline=falseto override anofflinesetting from the configuration
env:PIXI_OFFLINE
options:y,yes,t,true,on,1,n,no,f,false,off,0
-
--tls-root-certs <TLS_ROOT_CERTS>- Which TLS root certificates to use: 'webpki' (bundled Mozilla roots) or 'system' (system store)
env:PIXI_TLS_ROOT_CERTS
-
--use-environment-activation-cache- Use environment activation cache (experimental)
Global Options#
-
--manifest-path (-m) <MANIFEST_PATH>- The path to
pixi.toml,pyproject.toml, or the workspace directory
-
--workspace (-w) <WORKSPACE>- Name of the workspace
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