CLI

The Lightning CLI lets you manage Studios, Jobs, Deployments, and VMs directly from your terminal. Install via pip, authenticate once, and control your entire Lightning AI workflow without leaving the command line.

Install

pip install lightning-sdk -U

Authenticate

lightning login

Or set environment variables:

export LIGHTNING_USER_ID=your-user-id
export LIGHTNING_API_KEY=your-api-key

Usage

lightning [command]

Get help on any command:

lightning COMMAND --help

Was this page helpful?

What went wrong?

↑↓ Navigate↵ Open⌘↵ New tabesc Close