Skip to main content
Pixi provides several global options that can be used with any command. These options control logging, output formatting, and other cross-cutting concerns.

Global Options

--help

boolean
Display help information for the command.Aliases: -h

--verbose

count
Increase logging verbosity. Can be specified multiple times for more detail.Aliases: -vLevels:
  • -v - Show warnings
  • -vv - Show info messages
  • -vvv - Show debug messages
  • -vvvv - Show trace messages

--quiet

count
Decrease logging verbosity (quiet mode). Suppresses all output except errors.Aliases: -q
--quiet overrides --verbose if both are specified.

--color

enum
default:"auto"
Control colored output in the terminal.Values:
  • auto - Automatically detect if colors are supported
  • always - Always use colors
  • never - Never use colors
Environment variable: PIXI_COLOR

--no-progress

boolean
default:"false"
Hide all progress bars. Automatically enabled if stderr is not a terminal.Environment variable: PIXI_NO_PROGRESS
Useful in CI/CD environments:

Configuration Options

These options are available on commands that work with workspaces.

--manifest-path

path
The path to pixi.toml, pyproject.toml, or the workspace directory.
If not specified, pixi searches for a manifest file in the current directory and parent directories.

Lock File Options

These options control how pixi interacts with the lock file.

--frozen

boolean
Install the environment as defined in the lockfile without updating it.Environment variable: PIXI_FROZEN
Use cases:
  • CI/CD: Ensure reproducible builds
  • Production: Deploy exact versions from lock file
  • Offline: Install without network access (if cache is populated)

--locked

boolean
Check if lockfile is up-to-date before installing. Aborts if lockfile is outdated.Environment variable: PIXI_LOCKED
Use cases:
  • CI/CD: Fail if dependencies have changed
  • Team development: Enforce lock file updates before running
  • Validation: Verify lock file matches manifest

Differences: --frozen vs --locked

Behavior: Uses the existing lock file without updating it.When to use:
  • Production deployments
  • CI/CD pipelines
  • When you want exact reproducibility
Effect:
  • Lock file is never updated
  • Installs proceed even if manifest has changed
  • Fast: skips dependency resolution
Behavior: Checks if lock file is up-to-date with manifest, fails if not.When to use:
  • Catching uncommitted dependency changes
  • Enforcing lock file discipline
  • Pre-commit checks
Effect:
  • Lock file is never updated
  • Fails if manifest has changed since lock file was generated
  • Ensures lock file matches manifest
Behavior: Updates lock file if needed, then installs.When to use:
  • Local development
  • After adding/removing dependencies
  • Normal workflow
Effect:
  • Lock file is updated if manifest changed
  • Always installs latest compatible versions

Examples

Basic usage

CI/CD configuration

Development workflow

Custom manifest location

Debugging

Combining Options

Global options can be combined:

Option Precedence

When the same setting is specified multiple ways, pixi uses this precedence (highest to lowest):
  1. Command-line flags (e.g., --frozen)
  2. Environment variables (e.g., PIXI_FROZEN=true)
  3. Configuration file (e.g., config.toml)
  4. Defaults
Example: