Skip to content

pixi import#

Imports a file into an environment in an existing workspace.

Usage#

pixi import [OPTIONS] <FILE>

Arguments#

  • <FILE>
    File to import into the workspace
    required: true

Options#

  • --format <FORMAT>
    Which format to interpret the file as
    options: conda-env, pypi-txt
  • --platform (-p) <PLATFORM>
    The platforms for the imported environment. Accepts a workspace platform name; a bare conda subdir (e.g. linux-64) is also accepted. Names that aren't yet declared get auto-added as subdir platforms
    May be provided more than once.
  • --environment (-e) <NEW_ENVIRONMENT>
    A name for the created environment. Without --feature the imported content is written inline on the environment
  • --feature (-f) <NEW_FEATURE>
    A name for the created feature. The feature is added to the environment of the same name unless --environment is given

Config Options#

Global Options#

Description#

Imports a file into an environment in an existing workspace.

If --format isn't provided, import will try each format in turn