> ## Documentation Index
> Fetch the complete documentation index at: https://docs-v1.latitude.so/llms.txt
> Use this file to discover all available pages before exploring further.

# CLI Overview

> Manage Latitude projects and prompts from your terminal.

The Latitude CLI helps you work locally with your Latitude prompts. Initialize projects, pull/push prompt changes, switch versions, and manage authentication — all from the command line.

## Key Capabilities

* Create or pull a Latitude project from CLI
* Pull remote prompts locally with safe diff previews
* Push local prompt changes to a project version
* Check project status and pending changes
* Checkout a specific version or create a new one
* Manage your API key securely

## Typical Workflow

1. Install the CLI and authenticate
2. Run `latitude init` inside your repo
3. Pull prompts: `latitude pull`
4. Edit prompts locally
5. Push changes: `latitude push`
6. Switch versions when needed: `latitude checkout <versionUuid>` or `-b <name>`
