Skip to main content

fever auth

Manage authentication with the Fever platform. This command group allows you to log in, log out, and check your current authentication status.

A successful authentication is required for commands that interact with the platform, such as projects and artifacts.

Subcommands

login

Initiate the device authorization flow to authenticate the CLI with your Fever account.

Usage

fever auth login [options]

Alias: fever login

Process

  1. The CLI requests a device code from the Fever platform.
  2. It displays a verification URL and a unique user code.
  3. It attempts to open the URL in your default browser.
  4. You enter the code at the URL and authorize the device.
  5. The CLI polls for authorization and, upon success, securely stores an API key for future requests.

Options

OptionDescription
--url <url>Specify a custom platform URL. Defaults to https://cli.fevertokens.app/.
--forceForce re-authentication even if you are already logged in.

Example

$ fever auth login

🔐 Authenticating with Fever Web Platform...
Platform: https://cli.fevertokens.app/
📱 Initiating device authorization...

🔑 Authorization Required
Please visit the following URL and enter the code:

https://cli.fevertokens.app/activate?cliVersion=x.x.x

Code: ABCD-EFGH

🌐 Opening browser automatically...
⏳ Waiting for authorization...

✅ Successfully authenticated!

status

Check your current authentication status and connection details.

Usage

fever auth status [options]

Options

OptionDescription
--jsonOutput the status in JSON format for scripting.
--verboseShow detailed connection information, including API key prefix and expiration.

Example: Standard Status

$ fever auth status

📊 Authentication Status

✅ Authenticated

Example: Verbose Status

$ fever auth status --verbose

📊 Authentication Status

✅ Authenticated

Connection Details:
Platform: https://cli.fevertokens.app/
API Key: fv_xxxxxxxxxxxx...
Project: my-project-slug
Expires: 1/26/2026
Status: Active

logout

Log out of the Fever platform by clearing your locally stored credentials.

Usage

fever auth logout [options]

Alias: fever logout

Options

OptionDescription
--all(Future use) Clear all stored connections.

Example

$ fever auth logout

🚪 Logging out from Fever Web Platform...
Platform: https://cli.fevertokens.app/

✅ Successfully logged out