Install
Install the `layers` CLI via Homebrew or a curl script.
macOS (Homebrew)
brew install layers/tap/layersmacOS / Linux (curl)
curl -fsSL https://layers.com/install.sh | shWindows (Scoop)
scoop bucket add layers https://github.com/layers/scoop-bucket
scoop install layersDirect download
Pre-built binaries are on GitHub Releases.
Verify the install
layers --version
layers doctorlayers doctor checks version, auth, and API connectivity.
Update
layers updateUpdates the CLI to the latest release.
Global flags
| Flag | Description |
|---|---|
-o, --org <id> | Override the default organization for this command. |
-p, --project <id> | Override the default project for this command. |
--help | Show help. |
--version | Show the CLI version. |