Skip to content

hype auth

The auth command manages your CLI authentication.

Authenticate via browser. Opens an OAuth flow — the token is saved automatically when you approve.

Terminal window
hype auth login

Starts a local HTTP server to receive the callback. If the browser doesn’t open automatically, copy the URL from the terminal. Times out after 2 minutes.

Set an API token directly. Useful for CI/CD pipelines or scripts.

Terminal window
hype auth token hdoc_xxxxxxxxxxxxxxxxxxxx

Show current authentication status.

Terminal window
$ hype auth status
Authenticated
Token: hdoc_xxxx...xxxx
Config: ~/.hypedoc/config.json

If not authenticated, suggests hype auth login or hype auth token.

Remove the stored token.

Terminal window
hype auth logout