Classroom / 3. The Shell

Installation & Service

Running Forever

Installing Moltbot is step one. Running it as a Daemon (Service) is step two.

Installation

npm install -g moltbot@latest

The Daemon

You don't want to run moltbot gateway manually every time you reboot.

moltbot onboard --install-daemon

This installs a systemd (Linux) or launchd (macOS) service that keeps your bot alive 24/7.

Knowledge Check

What command sets up the background service?