Quickstart
The init command sets up enumctl in one step. It logs you in and configures your default organization and project.
enumctl initThis runs an interactive flow that:
- Logs you in with OIDC (same as
enumctl auth login, including device authorization on SSH) - Prompts you to select a default organization and saves it
- Prompts you to select a default project
This is the recommended way to get started after installing enumctl.
Headless or scripted setup
Section titled “Headless or scripted setup”On SSH sessions or in scripts, skip prompts and force device login:
enumctl init --project-id proj-... --yes --device| Flag | Description |
|---|---|
--project-id / -p | Default project ID (required for non-interactive use) |
--org-id | Organization ID (skips the org picker when set) |
--yes / -y | Skip confirmation prompts |
--device | Use device authorization for login |
--browser | Force browser callback login even on SSH sessions |
--skip-login | Skip login; fail if not already authenticated |
When to use
Section titled “When to use”- First-time setup after installing
enumctl - Switching to a new account, organization, and project in one step
- Onboarding new team members
What’s next
Section titled “What’s next”After running init, you can immediately start using other commands:
enumctl kubernetes listenumctl projects list