Skip to main content
The majordomo CLI lets you authenticate and manage API keys from your terminal. It’s the fastest way to create keys, list them, and revoke them without opening the dashboard.

Install

go install github.com/superset-studio/majordomo-cli/cmd/majordomo@latest
The CLI requires Go 1.25 or later. Run go version to check.
Verify the installation:
majordomo version

Log in

Authenticate the CLI with your Majordomo account:
majordomo login
This opens a browser window to complete authentication. Once logged in, the CLI stores your credentials at ~/.majordomo/config.yaml. If you need to override the default endpoints — for example, in a self-hosted environment — set these environment variables before running any command:
export MAJORDOMO_API_URL=https://butler.gomajordomo.com
export MAJORDOMO_WEB_URL=https://app.gomajordomo.com
export MAJORDOMO_TOKEN=...   # optional: set a token directly for automation

Manage API keys

Create, list, and revoke Majordomo API keys directly from the terminal:
# Create a new key
majordomo keys create --name "Production"

# List all keys
majordomo keys list

# Revoke a key by ID
majordomo keys revoke <id>
The CLI currently supports login and API key management. Features such as replay, evals, and cloud storage configuration are available in the dashboard.