Skip to content

CLI

Install the Merulan CLI, sign in, and run Workspace commands from a terminal.

The Merulan CLI gives you terminal commands for Workspace reads, changes, and local CDK authoring. A coding agent with terminal access can use the same commands.

Set up access

Install the CLI and sign in with your Merulan account:

npm install --global @merulan/cli
merulan auth login

The sign-in command opens a browser flow. Merulan checks your account and Workspace access for authenticated commands.

How the CLI works

Commands group work by resource. Run merulan --help to see command groups, then use the CLI reference for exact arguments. Local workspace init, lint, and plan commands work with a Workspace repository. Authenticated commands act on Merulan Workspaces.

First command

Run merulan auth whoami to confirm the account the CLI will use. Then select a command from the CLI reference or set up a Workspace repository for CDK authoring.

Reference