---
updatedAt: 2026-10-27T19:15:12.000Z
agentTools:
  projectIndex: https://docs.observeinc.com/llms.txt
---

# Observe by Snowflake CLI

Learn how to install and configue the Observe by Snowflake CLI.

The Observe by Snowflake command line interface (CLI) is a typed, scriptable interface to Observe by Snowflake. You can search Datasets and metrics, run OPAL, inspect alerts, manage Datastreams, and install AI agent skills into coding agents.

See <https://github.com/observeinc/cli> for the full CLI reference.

# Get started with the CLI

Run the following commands to install and get started with the CLI:

1. Run the following command to install the CLI:

```text
curl -fsSL https://raw.githubusercontent.com/observeinc/cli/main/install.sh | bash
```

2. Run the following command to sign in using the default browser OAuth method:

```text
observe auth login
```

3. Specify the level of access you want to grant the CLI:

<Image src="https://files.readme.io/7dc83d2f5b15a6a0e8e0c4f575a04fac79c16998505886b8eaa8b17306316176-Screenshot_2026-10-27_at_12.07.28_PM.png" align="center" width="450px" border={true} />

4. Confirm the redirect URL, then click **Authorize**.

Use the following command for headless environments.&#x20;

```text
observe auth login --useDeviceCode --url <customerId>.observeinc.com
```

For scripts, store an API token instead of using OAuth:

```text
observe auth configure --domain observeinc --customerId <id> --token <api-token>
```

Tokens inherit your Observe by Snowflake user permissions and expire after a fixed lifetime (default 30 days). There is no refresh token; run `observe auth login` again when the token expires.

# Install skills

Curated skills are in <https://github.com/observeinc/skills>. Install them with the following command:

```text
observe skill install --all
```

&#x20;Skills your organization stores in Observe by Snowflake are listed with `--user-defined`.

<br />