CmdID

CmdID / Commands

uv-lock

Update the project's lockfile. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Create or update the project's lockfile

uv lockIdentify

Check if the lockfile is up-to-date without updating it

uv lock --checkIdentify

Assert that a lockfile exists without checking if it's current

uv lock --check-existsIdentify

Simulate locking, showing what would be locked without writing the lockfile

uv lock --dry-runIdentify

Lock a specific Python script instead of the current project

uv lock --script path/to/script.pyIdentify

Upgrade all packages to their latest compatible versions

uv lock --upgradeIdentify

Upgrade only specific packages

uv lock --upgrade-package package1 --upgrade-package package2Identify