jnc update
Checks if there are newer versions of dependencies and updates thepixi.lock file and environments accordingly. Only updates packages to versions still compatible with the version constraints defined in the manifest.
If no packages are specified, all packages are updated. You can scope updates to specific environments and platforms.
Usage
Arguments
| Argument | Description |
|---|---|
[PACKAGES]... | The packages to update, space-separated. If none are provided, all packages are updated. |
Options
| Option | Short | Description |
|---|---|---|
--environment <ENV> | -e | The environments to update. Can be specified multiple times. If none are given, all environments are updated. |
--platform <PLATFORM> | -p | The platforms to update. Can be specified multiple times. If none are given, all platforms are updated. |
--dry-run | -n | Show what would be updated without writing changes to the lock file or environment. |
--json | Output the changes in JSON format. | |
--no-install | Update the lock file without installing the environment. |
Global Options
| Option | Short | Description |
|---|---|---|
--manifest-path <PATH> | -m | Path to pixi.toml or the workspace directory. |