Lists global environments with their dependencies and exposed commands. Can also display all packages within a specific global environment.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/prefix-dev/pixi/llms.txt
Use this file to discover all available pages before exploring further.
Usage
pixi g list, pixi g ls
Arguments
List only packages matching a regular expression.Without regex syntax, it acts like a
contains filter.Options
List all packages in a specific environment, with output similar to
pixi list.Sorting strategy for the package table of an environment.Options:
name, sizeRequires --environment.Output in JSON format.
Examples
List all global environments
List environments matching a pattern
List packages in a specific environment
pixi list):
Sort packages by size
Output as JSON
Display Format
All Environments
When listing all environments:- Yellow: Exposed binaries (executables available in your PATH)
- Green: Explicit package dependencies
- Blue: Package versions
- Cyan: Environment names
Per Environment
When using--environment:
- Green: Explicitly installed packages (bold)
- Regular text: Transitive dependencies
JSON Output Format
All Environments
Specific Environment
Use Cases
Check What’s Installed
Find Available Commands
Audit a Specific Environment
Export Environment Information
Check if Environment is in Sync
Pixi will warn you if environments are out of sync:Filtering
By Name
By Regex
Environment Status
The list command will warn you if:- Environments are out of sync with the manifest
- An environment needs to be synced
Sorting Options
By Name (default)
By Size
Sorting options only work with the
--environment flag.Understanding the Output
Exposed vs Installed
- Installed packages: All packages in the environment
- Exposed executables: Commands available in your PATH
Explicit vs Transitive
When using--environment:
- Explicit (bold green): Packages you installed
- Transitive: Dependencies of those packages