Skip to main content
The oleander CLI lets you manage Spark artifacts and jobs, run SQL queries against the lake, browse catalogs, register infrastructure, and launch a DuckDB terminal from the command line. Queries go through the query router, so the CLI picks the engine and machine size for you.

Installation

Configuration

Authenticate with an API key from your oleander settings. Pass a profile name. In a terminal, the CLI prompts for the key and stores it in ~/.oleander/config.json. The first profile you configure becomes the current profile.
Outside a terminal, set OLEANDER_API_KEY or pipe the key on stdin:
You can also run oleander configure without flags to enter your key interactively. The CLI stores the API key in ~/.oleander/config.json.

Upgrade

Upgrade to the latest release:
Check whether an update is available without installing it:

Commands

General

Lake

Catalogs

Spark

Env

Queries

See Spark, Lake, Polars, Env, and Queries for detailed usage.