docs/reference/cli/pixi/update.md
The update command checks if there are newer versions of the dependencies and updates the pixi.lock file and environments accordingly
--8<-- "docs/reference/cli/pixi/update_extender:description"
pixi update [OPTIONS] [PACKAGES]...
<PACKAGES></a>
: The packages to update, space separated. If no packages are provided, all packages will be updatedMay be provided more than once.
--no-install</a>
: Don't install the (solve) environments needed for pypi-dependencies solvingenv: PIXI_NO_INSTALL
--dry-run (-n)</a>
: Don't actually write the lock file or update any environment--environment (-e) <ENVIRONMENTS></a>
: The environments to update. If none is specified, all environments are updatedMay be provided more than once.
--platform (-p) <PLATFORMS></a>
: The platforms to update. If none is specified, all platforms are updated. Accepts a workspace platform name; a bare conda subdir (e.g. linux-64) is also accepted so users don't have to declare a platform before targeting itMay be provided more than once.
--json</a>
: Output the changes in JSON format--no-config</a>
: Don't read system or user-level configuration files. Project-local <project>/.pixi/config.toml is still loadedenv: PIXI_NO_CONFIG
default: false
--config-file <PATH></a>
: Load configuration from this file instead of searching system and user-level paths. Project-local <project>/.pixi/config.toml is still merged on topenv: PIXI_CONFIG_FILE
--auth-file <AUTH_FILE></a>
: Path to the file containing the authentication token--concurrent-downloads <CONCURRENT_DOWNLOADS></a>
: Max concurrent network requests, default is 50--concurrent-solves <CONCURRENT_SOLVES></a>
: Max concurrent solves, default is the number of CPUs--pinning-strategy <PINNING_STRATEGY></a>
: Set pinning strategyoptions: semver, minor, major, latest-up, exact-version, no-pin
--pypi-keyring-provider <PYPI_KEYRING_PROVIDER></a>
: Specifies whether to use the keyring to look up credentials for PyPIoptions: disabled, subprocess
--run-post-link-scripts</a>
: Run post-link scripts (insecure)--no-symbolic-links</a>
: Disallow symbolic links during package installationenv: PIXI_NO_SYMBOLIC_LINKS
--no-hard-links</a>
: Disallow hard links during package installationenv: PIXI_NO_HARD_LINKS
--no-ref-links</a>
: Disallow ref links (copy-on-write) during package installationenv: PIXI_NO_REF_LINKS
--tls-no-verify</a>
: Do not verify the TLS certificate of the server--tls-root-certs <TLS_ROOT_CERTS></a>
: Which TLS root certificates to use: 'webpki' (bundled Mozilla roots) or 'system' (system store)env: PIXI_TLS_ROOT_CERTS
--use-environment-activation-cache</a>
: Use environment activation cache (experimental)--manifest-path (-m) <MANIFEST_PATH></a>
: The path to pixi.toml, pyproject.toml, or the workspace directory--workspace (-w) <WORKSPACE></a>
: Name of the workspaceThe update command checks if there are newer versions of the dependencies and updates the pixi.lock file and environments accordingly.
It will only update the lock file if the dependencies in the manifest file are still compatible with the new versions.
--8<-- "docs/reference/cli/pixi/update_extender:example"