Skip to content

pixi global list#

Lists global environments with their dependencies and exposed commands. Can also display all packages within a specific global environment when using the --environment flag.

Usage#

pixi global list [OPTIONS] [REGEX]

Arguments#

  • <REGEX>
    List only packages matching a regular expression. Without regex syntax it acts like a contains filter

Options#

  • --environment (-e) <ENVIRONMENT>
    Allows listing all the packages installed in a specific environment, with an output similar to pixi list
  • --sort-by <SORT_BY>
    Sorting strategy for the package table of an environment
    default: name
    options: size, name
  • --json
    Whether to output in JSON format

Config Options#

Description#

Lists global environments with their dependencies and exposed commands. Can also display all packages within a specific global environment when using the --environment flag.

All environments:

  • Magenta: the name of the environment.
  • Green: the packages that are explicit dependencies of the environment.
  • Yellow: the binaries that are exposed.
  • Dim: the version of the installed package.

Per environment:

  • Green: packages that are explicitly installed.

Examples#

Every environment gets a block: its name, the version of the package it is named after, and a row per part of the manifest that has something to show. Environments holding more than one package list them under dependencies instead of in the header.

pixi global list
Results in:
bat 0.26.1
└── exposed       bat

demo
├── dependencies  bat 0.26.1, ripgrep 15.2.0
└── exposed       demo-cli -> bat

python 3.14.6
└── exposed       idle3
                  idle3.14
                  pydoc
                  pydoc3
                  pydoc3.14
                  python
                  python3
                  python3-config
                  python3.1
                  python3.14
                  python3.14-config

Here is an example of list of a single environment, which adds the channels, the size the environment takes up on disk, and the full package table:

pixi global list --environment demo
Results in:
demo
├── dependencies  bat 0.26.1, ripgrep 15.2.0
├── exposed       demo-cli -> bat
├── channels      conda-forge
└── size          6.2 MiB

Package        Version  Build       Size
_openmp_mutex  4.5      20_gnu      28.3 KiB
bat            0.26.1   hdab8a38_0  2.8 MiB
libgcc         16.1.0   ha9f2e26_1  1 MiB
libgomp        16.1.0   he0feb66_1  625.4 KiB
ripgrep        15.2.0   hf19af3b_1  1.8 MiB