docs/reference/cli/pixi/list.md
List the packages of the current workspace
--8<-- "docs/reference/cli/pixi/list_extender:description"
pixi list [OPTIONS] [REGEX]
<REGEX></a>
: List only packages matching a regular expression--platform <PLATFORM></a>
: The platform to list packages for. Defaults to the platform best matching this machine. Accepts a workspace platform name; a bare conda subdir (e.g. linux-64) is also accepted--json</a>
: Whether to output in json format--sort-by <SORT_BY></a>
: Sorting strategydefault: name
options: size, name, kind
--fields <FIELDS></a>
: Select which fields to display and in what order (comma-separated)May be provided more than once.
default: name, version, build, size, kind, source
options: arch, build, build-number, constrains, depends, file-name, is-editable, kind, license, license-family, md5, name, noarch, platform, requested-spec, sha256, size, source, subdir, timestamp, track-features, url, version
--environment (-e) <ENVIRONMENT></a>
: The environment to list packages for. Defaults to the default environment--explicit (-x)</a>
: Only list packages that are explicitly defined in the workspace--no-config</a>
: Don't read system or user-level configuration files. Project-local <project>/.pixi/config.toml is still loadedenv: PIXI_NO_CONFIG
default: false
--config-file <PATH></a>
: Load configuration from this file instead of searching system and user-level paths. Project-local <project>/.pixi/config.toml is still merged on topenv: PIXI_CONFIG_FILE
--frozen</a>
: Install the environment as defined in the lock file, doesn't update lock file if it isn't up-to-date with the manifest fileenv: PIXI_FROZEN
--locked</a>
: Check if lock file is up-to-date before installing the environment, aborts when lock file isn't up-to-date with the manifest fileenv: PIXI_LOCKED
--no-install</a>
: Don't modify the environment, only modify the lock fileenv: PIXI_NO_INSTALL
--manifest-path (-m) <MANIFEST_PATH></a>
: The path to pixi.toml, pyproject.toml, or the workspace directory--workspace (-w) <WORKSPACE></a>
: Name of the workspaceList the packages of the current workspace
Highlighted packages are explicit dependencies.
--8<-- "docs/reference/cli/pixi/list_extender:example"