Skip to content

pixi shell#

About#

Start a shell in a pixi environment, run exit to leave the shell

Usage#

pixi shell [OPTIONS]

Config Options#

Update Options#

  • --no-install
    Don't modify the environment, only modify the lock-file
  • --revalidate
    Run the complete environment validation. This will reinstall a broken environment
  • --no-lockfile-update
    Don't update lockfile, implies the no-install as well
  • --frozen
    Install the environment as defined in the lockfile, doesn't update lockfile if it isn't up-to-date with the manifest file
    env: PIXI_FROZEN
  • --locked
    Check if lockfile is up-to-date before installing the environment, aborts when lockfile isn't up-to-date with the manifest file
    env: PIXI_LOCKED
  • --environment (-e) <ENVIRONMENT>
    The environment to activate in the shell

Global Options#

Examples#

pixi shell
pixi shell --manifest-path ~/myworkspace/pixi.toml
pixi shell --frozen
pixi shell --locked
pixi shell --environment cuda
exit