Skip to main content

Usage

The Main Command: cl switch

cl switch is your one-stop command for managing accounts. Run it to:

  • Switch to any saved account
  • Login with a new account
  • Remove an account you no longer need
cl switch
? Select account:
> ✓ PersonalAccount ([email protected])
WorkAccount ([email protected])
ClientProject ([email protected])
+ Add new account
× Remove account

Fuzzy Matching

Skip the menu by typing part of the account name:

cl switch work     # Matches "WorkAccount"
cl switch personal # Matches "PersonalAccount"
cl switch client # Matches "ClientProject"

Other Commands

CommandDescription
cl addSave current wrangler account
cl listList all saved accounts
cl currentShow current account
cl removeRemove an account
cl logoutLogout and remove current account
cl configView/edit configuration
cl versionShow version