Skip to main content
The Leanly CLI brings the full platform to your terminal. Use it to deploy apps, inspect stacks, and manage integrations — without leaving your development environment.

Before you begin

Install

To install or update the CLI, run the following.
npm install leanly --global

Commands

login

Authenticate with your Leanly account. Opens a browser window to complete the login flow.
leanly login
FlagDescription
--timeout <seconds>How long to wait for authentication to complete (default: 300)
--select-tenantPrompt to select a tenant instead of using the previously logged in tenant
--tenant-id <id>Specify a tenant ID to use for this session
--no-openPrint the authentication URL instead of opening it in a browser
There’s more where that came from. Run leanly --help to see everything available in your installed version.