Skip to content

pixi workspace export conda-environment#

Export workspace environment to a conda environment.yaml file

Usage#

pixi workspace export conda-environment [OPTIONS] [OUTPUT_PATH]

Arguments#

Options#

  • --platform (-p) <PLATFORM>
    The platform to render the environment file for. Defaults to the current platform
  • --environment (-e) <ENVIRONMENT>
    The environment to render the environment file for. Defaults to the default environment
  • --name (-n) <NAME>
    The name to use for the rendered conda environment. Defaults to the environment name
  • --from-lock-file
    Render the environment with packages pinned to the versions resolved in the lock file instead of the manifest specs

Config Options#

  • --no-config
    Don't read system or user-level configuration files. Project-local <project>/.pixi/config.toml is still loaded
    env: PIXI_NO_CONFIG
    default: false
  • --config-file <PATH>
    Load configuration from this file instead of searching system and user-level paths. Project-local <project>/.pixi/config.toml is still merged on top
    env: PIXI_CONFIG_FILE

Global Options#