CLI Command Reference
LobstaKit provides 11 CLI commands for managing your self-hosted Lobsta installation.
lobstakit install
Run the full installation wizard: prerequisites β Docker β configuration β image pull β start.
lobstakit installSee Installation for the complete step-by-step walkthrough.
lobstakit start
Start the LobstaKit web interface (Flask server).
lobstakit start # Default: 0.0.0.0:8080
lobstakit start -p 9090 # Custom port
lobstakit start --production # Gunicorn mode
lobstakit start -h 127.0.0.1 # Localhost only
lobstakit start --debug # Debug mode| Flag | Default | Description |
|---|---|---|
--host, -h | 0.0.0.0 | Host to bind to |
--port, -p | 8080 | Port to run on |
--debug, -d | false | Enable Flask debug mode |
--production | false | Use gunicorn (requires lobstakit[prod]) |
lobstakit stop
Stop the Lobsta container.
lobstakit stoplobstakit restart
Restart the Lobsta container (stop then start).
lobstakit restartlobstakit status
Quick status check from the command line.
lobstakit status
# π οΈ LobstaKit Status
# ========================================
# β Docker: Running
# β Config: Ready (port 3000)
# β Lobsta: Up 2 hours
# β Health: Gateway respondinglobstakit config
Run the interactive configuration wizard (without the full install flow).
lobstakit configWalks through: API Key β Model β Gateway Port β Telegram β System Settings.
lobstakit version
Show the LobstaKit version.
lobstakit version
# LobstaKit v0.1.0lobstakit logs
View Lobsta container logs.
lobstakit logs # Last 50 lines
lobstakit logs -n 200 # Last 200 lines
lobstakit logs -f # Follow (stream) logs
lobstakit logs -f -n 100 # Follow starting from last 100 lineslobstakit update
Update Lobsta to the latest version. Stops the container, pulls the latest image, and restarts.
lobstakit update
# Stopping current instance...
# Pulling latest image...
# Starting updated instance...
# β Lobsta updated!lobstakit doctor
Run comprehensive health diagnostics with recommendations.
lobstakit doctor
# π©Ί Lobsta Doctor
# Running comprehensive health check...
#
# βββββββββββββββββββββββββββββββββββββββ
# β Docker Installed β Docker 24.0 β
# β Docker Running β Daemon active β
# β Config File β ~/.lobsta/... β
# β Container Status β Up 2 hours β
# β Gateway Port β Port 3000 openβ
# β Health Check β Responding β
# βββββββββββββββββββββββββββββββββββββββ
#
# β All checks passed!lobstakit harden
Run a security audit and optionally apply hardening measures.
lobstakit harden
# π LobstaKit Security Hardening
#
# Running security audit...
# β
Firewall configured
# β SSH root login enabled
# β
Docker socket permissions
# ...
#
# Score: 5/7 checks passed
#
# Apply security hardening? [y/N]: