## Install and authenticate

```
brew install lightsagehq/tools/lightsage
export LIGHTSAGE_API_KEY="ls_cli_your_api_key"
lightsage status auth-status-get --no-interactive
```

Add `--no-interactive` when commands should run without prompts. Use `--output-format json` when your agent needs structured output.

## Explore the CLI

[**CLI Reference**  
See the available commands, resource references, and examples.](/content/docs/cli-reference/index.html)
