Skip to main content
The checkly logout command signs out of your current Checkly account and removes stored authentication tokens from your local machine.
Before using checkly logout, ensure you have:
  • Checkly CLI installed
  • Currently authenticated with Checkly CLI
No internet connection is required as logout works locally.

Usage

The basic command logs out of your current Checkly account and removes stored authentication tokens.
Terminal

Command Options

--force, -f
boolean
Skip confirmation dialogs and proceed with the operation.Usage:
Terminal
Examples:
Terminal

What Happens During Logout

Session Invalidation

The logout process will:
  1. Remove local tokens from your machine
  2. Require re-authentication for future CLI usage

Token Removal

The command removes authentication tokens stored locally in:
  • macOS: ~/Library/Preferences/@checkly/cli-nodejs/auth.json
  • Linux: ~/.config/@checkly/cli-nodejs/auth.json
  • Windows: %APPDATA%\@checkly\cli-nodejs\auth.json

After Logout

Once logged out, you’ll need to run checkly login before using other CLI commands that require authentication.