@layers/cli
v2.1.18
Published
Layers CLI: connect a repo to the Layers Growth MCP from the terminal.
Keywords
Readme
doc_class: reference owner: platform
@layers/cli
npm install -g @layers/cli fetches the layers binary for your platform (macOS, Linux, and Windows, x64 and arm64) and verifies its SHA256 against the release's checksums.txt before installing it.
Run layers setup in a repo to bind it to the Layers Growth MCP, or layers --help for everything else.
Release
CI publishes this package. The npm-publish job in
.github/workflows/release-cli.yaml runs on a cli/v* tag and authenticates to
npm with OIDC through npm trusted publishing. There is no npm token.
One-time setup on npmjs.com, required once per package before the first CI publish:
- Open the
@layers/clipackage page and go to Settings. - Open Trusted publishers and choose GitHub Actions.
- Set the organization or user to
layers, the repository tolayers, the workflow filename torelease-cli.yaml, and the environment tonpm-publish. - Save.
Until npm holds that record, the publish step fails with E404 or E403.
https://layers.com
