Requirements
Platform
- macOS or Linux
- Windows via WSL2 is supported
Runtime
- Node.js 20 or higher
- Claude Code
Container Runtime
- macOS: Docker or Apple Container
- Linux: Docker
Authentication
- Claude Code subscription (Pro/Max), or
- Anthropic API key
Installation Methods
- Automated Setup (Recommended)
- Manual Setup
The
/setup command in Claude Code handles everything automatically.Run setup
In Claude Code:The setup will:
- Check for Node.js 20+ and install if needed
- Run
npm installand build dependencies - Detect or install container runtime (Docker/Apple Container)
- Build the agent container image
- Configure Claude authentication
- Set up your messaging channel
- Configure directory access permissions
- Start the background service
Authentication Setup
NanoClaw supports two authentication methods:- Claude Subscription (Recommended)
- Anthropic API Key
If you have Claude Pro or Claude Max:
Channel Setup
NanoClaw uses a skill-based channel system. Each messaging platform is added via a Claude Code skill:Telegram
Discord
Slack
Gmail
The
/setup command prompts you to select channels and runs the appropriate skills automatically.Starting the Service
NanoClaw runs as a background service that polls for messages and executes scheduled tasks.- macOS
- Linux
- WSL2
- Development
The service is managed by View logs:
launchd:Troubleshooting
Node.js version too old
Node.js version too old
Error:
bash setup.sh shows NODE_OK: falseSolution: Install Node.js 20 or higher:better-sqlite3 build fails
better-sqlite3 build fails
Error: Then:
NATIVE_OK: false during setupSolution: Install build tools:Docker not running
Docker not running
Error:
docker info fails or container build failsSolution:Container build cache issues
Container build cache issues
Error: Stale files in container after rebuildSolution: Prune the builder cache:
Service won't start
Service won't start
Error: Service loads but doesn’t process messagesSolution: Check logs and verify configuration:Rebuild and restart:
Agent exits with code 1
Agent exits with code 1
Error:
Claude Code process exited with code 1 in logsCauses:- Container runtime not running
- Wrong session mount path
- Missing authentication
Linux Docker socket permissions
Linux Docker socket permissions
Error: Then log out and back in. If using systemd and the error persists:
permission denied while trying to connect to the Docker daemon socketSolution: Add your user to the docker group:Next Steps
First Conversation
Learn how to interact with your assistant
Proactive Agent
Enable morning check-ins and afternoon follow-ups
Memory System
How NanoClaw remembers context
Customization
Tailor NanoClaw to your needs