Skip to main content
These commands manage your CLI account session: signing in, signing out, and checking your active workspace.

archal login

Opens a browser window to authenticate. Local credentials are saved under ~/.archal/.

Where credentials are stored

~/.archal/credentials.json stores your account identity, active workspace, workspace role, workspace plan snapshot, workspace clone catalog, expiry, and encrypted token fields. On macOS, Archal uses Keychain when available. You can also set the ARCHAL_TOKEN environment variable for CI or other non-interactive environments.

archal logout

Removes ~/.archal/credentials.json. Commands that need auth will prompt you to log in again.

archal whoami

Displays your active workspace, workspace plan, and pooled workspace usage.
archal plan, archal whoami, and archal usage show the same active workspace usage. Switch workspaces when you want the CLI to use a different project’s pooled usage.