Skip to main content

Default: superturtle start (tmux)

The simplest way to run the bot persistently:
This creates a project-scoped tmux session that survives terminal disconnects.
For most users, superturtle start is all you need. Use superturtle status to print the exact tmux session and log paths for the current project. The sections below are for production setups that need auto-start on boot and crash recovery.

macOS (LaunchAgent)

For auto-start on boot and automatic restart on crash.

Setup

  1. Copy the template:
  1. Edit the plist:
Set your paths and credentials:
  1. Load and verify:

Managing

Prevent sleep

Go to System Settings > Battery > Options and enable “Prevent automatic sleeping when the display is off” (on power adapter).

Shell aliases

Linux (systemd)

Setup

  1. Copy the template:
  1. Edit with your paths:
  1. Enable and start:

Managing

Logs

Shell aliases

Development mode

For contributors working on superturtle itself:

Troubleshooting

Bot doesn’t start

Common issues: invalid bot token, missing bun binary, working directory doesn’t exist.

Bot keeps restarting

Check logs for crash reasons: Claude Code auth failure, network issues, Telegram rate limit, OOM.

Telegram not receiving messages

  • Verify bot token (/start in Telegram)
  • Check user ID is in TELEGRAM_ALLOWED_USERS
  • Check network connectivity

Platform differences

Next steps