Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

stacy lock

Generate or verify lockfile

Synopsis

stacy lock [OPTIONS]

Description

Generates stacy.lock from stacy.toml, recording exact versions of all packages. The lockfile ensures reproducible installs across machines. Use --check in CI to verify the lockfile is up-to-date.

Options

OptionDescription
--checkVerify lockfile matches stacy.toml without updating

Examples

Generate lockfile

stacy lock

Verify lockfile (for CI)

stacy lock --check

Exit Codes

CodeMeaning
0Success / in sync
1Out of sync (with –check)

See Exit Codes Reference for details.

See Also