Skip to main content
Pixi supports global configuration options that are not tied to a specific workspace. These settings are local to the machine and loaded from various configuration files.

Configuration Loading Order

Configuration files are loaded with the following priority (highest to lowest):
Higher priority values override lower priority values. To find all locations where pixi looks for configuration files, run pixi info -vvv.

Core Configuration Options

default-channels

The default channels to use when running pixi init or pixi global install.
array
default:"['conda-forge']"
Default channels for new projects
The default-channels are only used when initializing a new workspace. Once initialized, the channels from the workspace manifest are used.

shell

Configure shell behavior when using pixi shell.
boolean
default:"true"
When set to false, removes the (pixi) prefix from the shell prompt. Override with --change-ps1.
boolean
default:"false"
When set to true, re-activation always happens. Used with experimental use-environment-activation-cache.
boolean
default:"true"
When set to false, pixi will not source autocompletion scripts when entering the shell.

pinning-strategy

Strategy for pinning dependencies when running pixi add.
enum
default:"semver"
Available strategies:
  • no-pin: No pinning, resulting in *
  • semver: Pin to major for most versions, minor for v0 versions
  • exact-version: Pin to exact version ==1.2.3
  • major: Pin to major >=1.2.3, <2
  • minor: Pin to minor >=1.2.3, <1.3
  • latest-up: Pin to latest >=1.2.3

detached-environments

Directory where pixi stores workspace environments (normally in .pixi/envs).
boolean | string
  • true: Store in cache directory
  • false: Store in .pixi/envs (default)
  • "/path/to/dir": Store in custom path
Using detached environments creates a disconnect between the workspace and its environments, requiring manual cleanup when deleting workspaces.
The resulting structure:

concurrency

Configure concurrency limits for pixi operations.
integer
Maximum concurrent solves
integer
default:"50"
Maximum concurrent downloads
Or via CLI:

proxy-config

Configure HTTP/HTTPS proxies for network operations.
string
HTTPS proxy URL (like https_proxy environment variable)
string
HTTP proxy URL (like http_proxy environment variable)
array
Domains that should bypass proxies
Environment variables like https_proxy have the highest priority and will override these settings.

tool-platform

Defines the platform used when installing build backends and tools.
string
Platform identifier (e.g., linux-64, osx-arm64)
By default, pixi uses the current system platform. Override this for architectures with limited build backend support.

Experimental Features

use-environment-activation-cache

Cache environment activation to speed up pixi run and pixi shell.
Cache structure in .pixi/activation-env-v0/:
Ignore cache with:
This is experimental because cache invalidation is complex. Use with caution in production environments.

Naming Convention

In pixi 0.20.1 and older, configuration options used snake_case. Since 0.20.2, kebab-case is used for consistency. Both formats are supported for backward compatibility.
Compatible options:
  • default_channels / default-channels
  • change_ps1 / change-ps1
  • tls_no_verify / tls-no-verify
  • authentication_override_file / authentication-override-file