docs/reference/cli/pixi/lock.md
Solve environment and update the lock file without installing the environments
--8<-- "docs/reference/cli/pixi/lock_extender:description"
pixi lock [OPTIONS]
--json</a>
: Output the changes in JSON format--check</a>
: Check if any changes have been made to the lock file. If yes, exit with a non-zero code--dry-run</a>
: Compute the lock file without writing to disk. Implies --no-install--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
--no-install</a>
: Don't modify the environment, only modify the lock fileenv: PIXI_NO_INSTALL
--manifest-path (-m) <MANIFEST_PATH></a>
: The path to pixi.toml, pyproject.toml, or the workspace directory--workspace (-w) <WORKSPACE></a>
: Name of the workspace--8<-- "docs/reference/cli/pixi/lock_extender:example"