Pixi Install-to-prefix

Pixi installs your environments to .pixi/envs/<env-name> by default. If you want to install your environment to an arbitrary location on your system, you can use pixi-install-to-prefix.

You can install pixi-install-to-prefix with:

pixi global install pixi-install-to-prefix

Instead of installing pixi-install-to-prefix globally, you can also use pixi exec to run pixi-install-to-prefix in a temporary environment:

pixi exec pixi-install-to-prefix ./my-environment
Usage: pixi-install-to-prefix [OPTIONS] <PREFIX>

Arguments:
  <PREFIX>  The path to the prefix where you want to install the environment

Options:
  -l, --lockfile <LOCKFILE>        The path to the pixi lockfile [default: pixi.lock]
  -e, --environment <ENVIRONMENT>  The name of the pixi environment to install [default: default]
  -p, --platform <PLATFORM>        The platform you want to install for [default: <your-system-platform>]
  -c, --config <CONFIG>            The path to the pixi config file. By default, no config file is used
  -v, --verbose...                 Increase logging verbosity
  -q, --quiet...                   Decrease logging verbosity
  -h, --help                       Print help