pixi build#
About#
Lock file and installation configuration with --as-is support Used by shell, shell-hook, and run commands
Usage#
Options#
-
--target-platform (-t) <TARGET_PLATFORM>- The target platform to build for (defaults to the current platform)
default:current_platform
-
--build-platform <BUILD_PLATFORM>- The build platform to use for building (defaults to the current platform)
default:current_platform
-
--output-dir (-o) <OUTPUT_DIR>- The output directory to place the built artifacts
default:.
-
--build-dir (-b) <BUILD_DIR>- The directory to use for incremental builds artifacts
-
--clean (-c)- Whether to clean the build directory before building
Config Options#
-
--auth-file <AUTH_FILE>- Path to the file containing the authentication token
-
--concurrent-downloads <CONCURRENT_DOWNLOADS>- Max concurrent network requests, default is
50
-
--concurrent-solves <CONCURRENT_SOLVES>- Max concurrent solves, default is the number of CPUs
-
--pinning-strategy <PINNING_STRATEGY>- Set pinning strategy
options:semver,minor,major,latest-up,exact-version,no-pin
-
--pypi-keyring-provider <PYPI_KEYRING_PROVIDER>- Specifies whether to use the keyring to look up credentials for PyPI
options:disabled,subprocess
-
--run-post-link-scripts- Run post-link scripts (insecure)
-
--tls-no-verify- Do not verify the TLS certificate of the server
-
--use-environment-activation-cache- Use environment activation cache (experimental)
Update Options#
-
--no-install- Don't modify the environment, only modify the lock-file
-
--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
-
--as-is- Shorthand for the combination of --no-install and --frozen
Global Options#
-
--manifest-path <MANIFEST_PATH>- The path to
pixi.toml,pyproject.toml, or the workspace directory