@claude-sync/cli
v0.1.19
Published
Sync Claude Code sessions across machines - Never lose your AI conversations again
Downloads
1,822
Maintainers
Readme
😤 The Problem
You're deep in a Claude Code session on your laptop. Hours of context, perfect understanding of your codebase, brilliant solutions flowing. Then you need to switch to your desktop.
Gone. All that context. All that history. Start over.
✨ The Solution
Claude Sync keeps your Claude Code sessions synchronized across all your devices. Push from your laptop, pull from your desktop. Your AI remembers everything.
# On your laptop
claude-sync sync
# On your desktop
claude-sync sync
# → "Continue from another machine?" ✓
# → Select your laptop
# → All your sessions, right there 🎉📦 Installation
npm install -g @claude-sync/cli🚀 Quick Start
1️⃣ Create an account
claude-sync loginOpens your browser to sign in with GitHub, Google, or email.
2️⃣ Register your device
claude-sync device addGive your machine a name (e.g., "MacBook Pro", "Home Desktop").
3️⃣ Sync your sessions
cd /path/to/your/project
claude-sync syncThat's it! Your Claude Code sessions are now backed up and available everywhere. 🎊
📋 Commands
| Command | Description |
|---------|-------------|
| claude-sync login | 🔐 Sign in to your account |
| claude-sync logout | 👋 Sign out |
| claude-sync device add | 💻 Register this machine |
| claude-sync device list | 📱 List your devices |
| claude-sync sync | 🔄 Sync current project |
| claude-sync status | 📊 Check sync status |
| claude-sync whoami | 👤 Show current user |
⚙️ How It Works
- 📤 Push — Upload your local Claude Code sessions to the cloud
- 📥 Pull — Download sessions from your other devices
- 🔀 Merge — Smart conflict resolution keeps everything in sync
Your sessions are encrypted and stored securely. Only you can access them. 🔒
🌟 Features
- 🖥️ Cross-Platform — Works on macOS, Linux, and Windows
- 🔐 Secure — End-to-end encryption for your sessions
- ⚡ Fast — Only syncs what's changed
- 🎯 Simple — One command to sync everything
📋 Requirements
- Node.js 18+
- Claude Code installed
- A Claude Sync account (free tier available)
🔗 Links
| | | |---|---| | 🌐 Website | claude-sync.com | | 📊 Dashboard | claude-sync.com/dashboard | | 📚 Documentation | claude-sync.com/docs | | 💡 Feature Requests | claude-sync.com/requests |
💬 Support
Having issues? We're here to help!
- 📧 Email: [email protected]
- 💡 Feature Requests: claude-sync.com/requests
