Manage supported workspace operations locally.
The published CLI validates your API key, links an owned project, and reads or creates projects through existing LeonardX API routes. Commands shown in the Studio are examples; it never runs a local process.
leo init <workspace-id>
leo status
leo projects list
leo projects create "My app" --type web_app
Credentials are stored in the user config directory with restrictive permissions. Install the published package with npm install -g @leo-os/cli.
leo deploy --brief and leo ship use the authenticated API-key deployment bridge for linked developer projects. The command waits for the existing OpenAI, GitHub, and Vercel flow to return a verified result.
Follow the integration, one step at a time.
Explore real LeonardX contracts with sample code and a simulated terminal. This walkthrough never uses credentials, contacts endpoints, or changes account data.
Walkthrough scenario
Supported CLI commands authenticate and read project metadata.
Authenticate locally
Login validates the key against /api/v1/me before saving local CLI configuration.
leo login --api-key "$LEO_API_KEY" --base-url "https://your-leonardx-domain"Execution preview
Synchronized to the highlighted code
$ leo login --api-key "$LEO_API_KEY" --base-url "https://your-leonardx-domain"
[SIMULATION] Command not run
Real command validates credentials before saving them
Link a project: step 1 of 2. Authenticate locally