Skip to main content

kernel login

Log in with OAuth 2.0 PKCE. The CLI opens a browser window to complete the flow and stores credentials securely for automatic refresh.

kernel logout

Clear stored credentials and revoke the current session.

kernel auth

Display authentication status, including the active user, organization, and token expiry.

API key authentication

Set the KERNEL_API_KEY environment variable to authenticate without OAuth:
Create and manage API keys from the Kernel dashboard or with kernel api-keys.

Global flags

The following flags are available on every CLI command:

Getting help

  • kernel --help — Show the top-level command list.
  • kernel <command> --help — Display command-specific usage and options.