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

# Omni CLI

> Manage your Omni instance from the terminal — query data, manage models, administer users, and automate workflows.

The Omni CLI lets you manage your Omni instance from the terminal. Use it to query data, manage models and content, administer users and permissions, and automate workflows with scripts or CI/CD pipelines.

## What you can do

* Run queries against your semantic layer
* Manage models, views, fields, topics, and branches
* Create, update, and organize documents, dashboards, and folders
* Manage users, groups, permissions, and schedules
* Generate AI-powered queries from natural language
* Upload CSV and Excel files
* Automate any of the above with shell scripts or CI/CD

## Output

All commands return JSON to `stdout`, and errors go to `stderr` as JSON. Use the `--compact` flag for non-indented output, which is useful for piping to tools like `jq`.

## Get started

See the [installation guide](/developers/cli/install) to install the CLI, then follow the [authentication guide](/developers/cli/authentication) to connect using OAuth (recommended) or an API key. Once authenticated, follow the [quickstart](/developers/cli/quickstart) to run your first commands.

<Tip>
  Once the CLI is installed, you can use [Omni's agent skills](/developers/agent-skills) to bring analytics capabilities directly into AI coding assistants like Claude Code, Cursor, and Codex.
</Tip>

## Available commands

Check out the [Commands reference](/developers/cli/commands) for a complete list of CLI commands.
