Skip to main content

jnc lock

Solves all environments defined in the workspace manifest and writes an updated jnc.lock file. Unlike jnc install, this command does not install any packages into an environment prefix — it only computes and persists the dependency resolution. This is useful in CI workflows, validation checks, or when you want to preview what would change before installing.

Usage

Options

Global Options

Examples

Update the lock file

Check if the lock file is up-to-date (CI use)

Preview lock file changes without writing

Output lock file changes as JSON