Configuration Loading Order
Configuration files are loaded with the following priority (highest to lowest):- Linux
- macOS
- Windows
| Priority | Location | Description |
|---|---|---|
| 7 | Command line arguments | --tls-no-verify, --change-ps1=false, etc. |
| 6 | your_project/.pixi/config.toml | Project-specific configuration |
| 5 | $PIXI_HOME/config.toml | Global configuration in PIXI_HOME |
| 4 | $HOME/.pixi/config.toml | Global configuration in user home |
| 3 | $XDG_CONFIG_HOME/pixi/config.toml | XDG compliant user configuration |
| 2 | $HOME/.config/pixi/config.toml | User-specific configuration |
| 1 | /etc/pixi/config.toml | System-wide configuration |
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 runningpixi init or pixi global install.
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 usingpixi shell.
When set to
false, removes the (pixi) prefix from the shell prompt. Override with --change-ps1.When set to
true, re-activation always happens. Used with experimental use-environment-activation-cache.When set to
false, pixi will not source autocompletion scripts when entering the shell.pinning-strategy
Strategy for pinning dependencies when runningpixi add.
Available strategies:
no-pin: No pinning, resulting in*semver: Pin to major for most versions, minor for v0 versionsexact-version: Pin to exact version==1.2.3major: Pin to major>=1.2.3, <2minor: Pin to minor>=1.2.3, <1.3latest-up: Pin to latest>=1.2.3
detached-environments
Directory where pixi stores workspace environments (normally in.pixi/envs).
true: Store in cache directoryfalse: Store in.pixi/envs(default)"/path/to/dir": Store in custom path
concurrency
Configure concurrency limits for pixi operations.Maximum concurrent solves
Maximum concurrent downloads
proxy-config
Configure HTTP/HTTPS proxies for network operations.HTTPS proxy URL (like
https_proxy environment variable)HTTP proxy URL (like
http_proxy environment variable)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.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 uppixi run and pixi shell.
.pixi/activation-env-v0/:
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.default_channels/default-channelschange_ps1/change-ps1tls_no_verify/tls-no-verifyauthentication_override_file/authentication-override-file