Skip to main content
Display information about the system, workspace, and environments.

Usage

pixi info [OPTIONS]

Description

The pixi info command provides comprehensive information about:
  • System information (platform, virtual packages, cache directories)
  • Global pixi configuration (bin directory, environment directory)
  • Workspace information (name, version, manifest path)
  • Environment details (features, dependencies, platforms, tasks)

Options

--extended
boolean
Show cache and environment sizes. This may take some time to calculate.
pixi info --extended
--json
boolean
Output in JSON format for programmatic access.
pixi info --json

Examples

Basic system information

Show system and workspace information:
pixi info
Example output:
System
------------
Pixi version        : 0.42.0
TLS backend         : native-tls
Platform            : linux-64
Virtual packages    : __unix=0=0
                    : __linux=5.15.0=0
                    : __glibc=2.35=0
Cache dir           : /home/user/.cache/rattler
Auth storage        : /home/user/.rattler/credentials.json
Config locations    : /home/user/.config/pixi/config.toml

Workspace
------------
Name                : my-project
Version             : 0.1.0
Manifest file       : /home/user/my-project/pixi.toml
Last updated        : 15-01-2024 14:23:45

Environments
------------
Environment         : default
Features            : default
Dependency count    : 5
Dependencies        : python, numpy, pandas, pytest, black
Target platforms    : linux-64, osx-64, win-64
Prefix location     : /home/user/my-project/.pixi/envs/default
Tasks               : test, lint, format

Extended information with sizes

Show detailed information including directory sizes:
pixi info --extended
Additional output:
Cache size          : 2.5 GiB
Environment size    : 450 MiB

JSON output

Get structured output for automation:
pixi info --json
Example JSON output:
{
  "platform": "linux-64",
  "virtual_packages": [
    "__unix=0=0",
    "__linux=5.15.0=0",
    "__glibc=2.35=0"
  ],
  "version": "0.42.0",
  "tls_backend": "native-tls",
  "cache_dir": "/home/user/.cache/rattler",
  "cache_size": null,
  "auth_dir": "/home/user/.rattler/credentials.json",
  "project_info": {
    "name": "my-project",
    "manifest_path": "/home/user/my-project/pixi.toml",
    "last_updated": "15-01-2024 14:23:45",
    "pixi_folder_size": null,
    "version": "0.1.0"
  },
  "environments_info": [
    {
      "name": "default",
      "features": ["default"],
      "solve_group": null,
      "environment_size": null,
      "dependencies": ["python", "numpy", "pandas"],
      "pypi_dependencies": ["requests", "pytest"],
      "platforms": ["linux-64", "osx-64"],
      "tasks": ["test", "lint"],
      "channels": ["conda-forge"],
      "prefix": "/home/user/my-project/.pixi/envs/default",
      "system_requirements": {}
    }
  ]
}

Information Sections

System

Pixi version
string
The version of pixi currently installed.
TLS backend
string
The TLS implementation being used (native-tls or rustls).
Platform
string
The current platform (e.g., linux-64, osx-arm64, win-64).
Virtual packages
array
System virtual packages detected (e.g., __unix, __linux, __glibc, __osx, __cuda).
Cache dir
path
Location of the rattler cache directory.
Cache size
string
Size of the cache directory (only with --extended).
Auth storage
path
Location of authentication credentials.
Config locations
array
Paths to configuration files being used.

Global

Bin dir
path
Directory where globally installed binaries are stored.
Environment dir
path
Directory where global environments are stored.
Manifest dir
path
Location of the global manifest file.

Workspace

Name
string
The workspace name from the manifest.
Version
string
The workspace version.
Manifest file
path
Path to the pixi.toml or pyproject.toml.
Last updated
string
Last modification time of the lock file.

Environments

Environment
string
Name of the environment.
Features
array
Features included in this environment.
Solve group
string
The solve group this environment belongs to (if any).
Environment size
string
Size of the environment directory (only with --extended).
Dependency count
integer
Number of dependencies in the environment.
Dependencies
array
List of conda dependencies.
PyPI Dependencies
array
List of PyPI dependencies.
Target platforms
array
Platforms this environment supports.
Prefix location
path
Full path to the environment directory.
System requirements
object
System requirements specified for the environment.
Tasks
array
Available tasks in this environment.

Use Cases

Debugging environment issues

Check environment configuration:
pixi info

Checking cache usage

See how much disk space is used:
pixi info --extended

CI/CD integration

Extract information programmatically:
pixi info --json | jq '.version'

Reporting bugs

Include system information when reporting issues:
pixi info > pixi-info.txt