pixi import
#
About#
Imports a file into an environment in an existing workspace.
Usage#
Arguments#
-
<FILE>
- File to import into the workspace
required:true
Options#
-
--format <FORMAT>
- Which format to interpret the file as
options:conda-env
-
--platform (-p) <PLATFORM>
- The platforms for the imported environment
May be provided more than once.
-
--environment (-e) <ENVIRONMENT>
- A name for the created environment
-
--feature (-f) <FEATURE>
- A name for the created feature
Config Options#
-
--tls-no-verify
- Do not verify the TLS certificate of the server
-
--auth-file <AUTH_FILE>
- Path to the file containing the authentication token
-
--pypi-keyring-provider <PYPI_KEYRING_PROVIDER>
- Specifies whether to use the keyring to look up credentials for PyPI
options:disabled
,subprocess
-
--concurrent-solves <CONCURRENT_SOLVES>
- Max concurrent solves, default is the number of CPUs
-
--concurrent-downloads <CONCURRENT_DOWNLOADS>
- Max concurrent network requests, default is
50
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
Global Options#
-
--manifest-path <MANIFEST_PATH>
- The path to
pixi.toml
,pyproject.toml
, or the workspace directory
Description#
Imports a file into an environment in an existing workspace.
If --format
isn't provided, import
will try to guess the format based on the file extension.