Skip to main content
The catty command-line interface lets you create, manage, and connect to remote Claude Code sessions.

Installation

npm install -g @diggerhq/catty
Or use without installing:
npx @diggerhq/catty new

Commands

CommandDescription
catty newStart a new session
catty connectReconnect to an existing session
catty listList all your sessions
catty stopStop a session
catty downloadDownload workspace from a session
catty syncSync remote workspace to current directory
catty secretsManage secrets for sessions
catty loginAuthenticate with Catty
catty logoutRemove stored credentials
catty updateUpdate CLI to latest version
catty versionPrint version number

Common Workflows

Start a new session

cd my-project
catty new

Reconnect after disconnect

catty list                      # Find your session
catty connect brave-tiger-1234  # Reconnect

Download work after session ends

catty download brave-tiger-1234

Set up GitHub access

catty secrets add github        # One-time setup
catty new                       # Sessions now have GitHub access

Global Options

OptionDescription
--api <url>Override API URL (for development)
-h, --helpShow help
-V, --versionShow version

Environment Variables

VariableDescriptionDefault
CATTY_API_ADDROverride API URLhttps://api.catty.dev
CATTY_DEBUGEnable debug logging-

Exit Codes

CodeMeaning
0Success
1General error
2Authentication required

Platform Support

PlatformArchitecture
macOSIntel (x64), Apple Silicon (arm64)
Linuxx64, ARM64
Windows is not yet supported.

Authentication

All commands except login, logout, and version require authentication. Credentials are stored at ~/.catty/credentials.json and automatically refreshed when expired.
# First-time setup
catty login

# Check if logged in
cat ~/.catty/credentials.json