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 install

Install packages from lockfile or SSC/GitHub

Synopsis

stacy install [OPTIONS]

Description

Installs packages defined in stacy.lock (or stacy.toml if no lockfile exists). This ensures reproducible environments by installing exact versions from the lockfile. Can also install individual packages directly from SSC or GitHub.

Options

OptionDescription
--frozenFail if lockfile doesn’t match stacy.toml
--no_verifySkip checksum verification
--withInclude dependency groups (comma-separated: dev, test)

Examples

Install from lockfile

Install all packages at locked versions

stacy install

Install specific package

stacy install estout

Exit Codes

CodeMeaning
0Success
1Installation failed
3Package not found

See Exit Codes Reference for details.

See Also