Skip to main content
The Tandem CLI lets you create and manage tasks, projects, and settings without leaving your terminal. It uses the same AI as the web app — so tandem add has a full conversation with you before saving anything.

Installation

npm install -g @telltandem/cli
Requires Node.js 18 or later.

Authentication

tandem login
This opens a browser window to authenticate. Your session is stored locally and stays valid until you log out or revoke the token.
tandem logout    # clear stored credentials
tandem whoami    # show the current logged-in account

Self-hosted

If you’re running a self-hosted instance, set the TANDEM_URL environment variable:
TANDEM_URL=https://your-instance.com tandem login

Revoking CLI access

CLI tokens can be revoked from Settings → CLI Tokens in the web app. Each device gets its own token — revoking one doesn’t affect others.

Next steps

Command reference

Full list of every CLI command with examples