npx; you do not need a global installation.
Prerequisites
- Node.js 22.22.0 or newer, to run the CLI.
- pnpm, to install a slate’s dependencies.
- Git, configured with your author name and email, to version and push the slate’s code.
Run the CLI
--help to a command to see its arguments and options.
Sign in
Signing in requires a person to approve the CLI in a browser. The account that approves the request becomes the CLI’s identity.1
Start sign-in in the terminal
2
Approve with the account you want the CLI to use
Open the printed URL in your browser. Sign in to ContextLayer, or create an account, then check that the browser shows the same code as the terminal. Approve the request.If a coding agent started the command, it should give you the URL and code and wait for you to approve. This step determines whose account the agent will act through.
3
Wait for the terminal to confirm sign-in
The CLI prints
Signed in to ContextLayer., then configures Git authentication and prints Git credentials configured for ContextLayer.The first message confirms the CLI’s login. The second confirms that Git can use those credentials when you push a slate to ContextLayer.