Skip to content

Environment Variables#

Pixi can also be configured via environment variables.

Name Description Default
PIXI_HOME Defines the directory where pixi puts its global data. HOME/.pixi
PIXI_CACHE_DIR Defines the directory where pixi puts its cache.
  • If PIXI_CACHE_DIR is not set, the RATTLER_CACHE_DIR environment variable is used.
  • If that is not set, XDG_CACHE_HOME/pixi is used when the directory exists.
  • If that is not set, the default cache directory of rattler::default_cache_dir is used.