runt daemon commands manage the runtimed background service, which handles environment pools, notebook synchronization, and kernel lifecycle.
Subcommands
| Command | Description |
|---|---|
status | Show daemon status, pool info, and uptime |
start | Start the daemon service |
stop | Stop the daemon service |
restart | Restart the daemon (stop + start) |
install | Install daemon as a system service |
uninstall | Uninstall the system service |
logs | Tail the daemon log file |
flush | Flush environment pools and rebuild |
shutdown | Request daemon shutdown |
ping | Check if daemon is running (exit code only) |
doctor | Diagnose installation issues |
list-worktrees | List dev worktree daemons (development) |
runt daemon status
Show comprehensive daemon status including service state, pool statistics, and version info.Example Output
JSON Output
runt daemon logs
Tail the daemon log file.Options
Follow the log file (like
tail -f). Press Ctrl+C to exit.Number of lines to display from the end of the log file.
Examples
Log Locations
- macOS:
~/Library/Caches/runt/runtimed.log - Linux:
~/.cache/runt/runtimed.log - Dev mode:
~/.cache/runt/worktrees/{hash}/runtimed.log
runt daemon start/stop/restart
Manage the daemon service lifecycle.The daemon must be installed first with
runt daemon install. The nteract Desktop app automatically installs the daemon on first launch.Examples
runt daemon install/uninstall
Install or remove the daemon as a system service.Options
Path to the
runtimed binary to install. If omitted, looks for a sibling binary next to runt.Service Installation Locations
- macOS
- Linux
- Windows
- Binary:
~/Library/Application Support/io.nteract.runtimed/bin/runtimed - LaunchAgent:
~/Library/LaunchAgents/io.nteract.runtimed.plist
Examples
runt daemon flush
Flush all prewarmed environments and rebuild the pool.- Changing default packages in settings
- Upgrading Python or environment tools
- Clearing corrupted environments
runt daemon doctor
Diagnose daemon installation and health issues.Options
Attempt to automatically fix issues (reinstall binary, restart service, etc.)
Output results in JSON format
Example Output
Auto-Fix Mode
- Remove stale state files (if process is dead)
- Reinstall missing daemon binary (from app bundle)
- Start the daemon if installed but not running
runt daemon ping
Check if the daemon is running (returns exit code only, no output).- Exit 0: Daemon is running
- Exit 1: Daemon is not running
Example Usage in Scripts
runt daemon shutdown
Request graceful daemon shutdown.- Stop all running kernels
- Close notebook sync connections
- Exit the daemon process
runt daemon list-worktrees
List all development worktree daemons (dev mode only).Example Output
Troubleshooting
Daemon won't start
Daemon won't start
Error: “Failed to start daemon” or timeout on startupSolution:
- Check logs:
runt daemon logs -n 100 - Look for port conflicts or permission errors
- Run health check:
runt daemon doctor --fix - Reinstall:
runt daemon uninstall && runt daemon install
Daemon is stale
Daemon is stale
Symptoms:
daemon.json exists but process is deadSolution:Pool environments not warming
Pool environments not warming
Symptoms:
runt daemon status shows 0 available environmentsSolution:- Check logs for errors:
runt daemon logs -f - Common issues:
- UV or Conda not installed
- Network issues downloading packages
- Disk space exhausted
- Flush and rebuild:
runt daemon flush
Related Commands
runt notebooks— List notebooks managed by daemonrunt shutdown— Shutdown a specific notebook