pm3
A modern process manager.
$ curl --proto '=https' --tlsv1.2 -LsSf https://github.com/frectonz/pm3/releases/download/0.1.3/pm3-installer.sh | shSimple Config
Define your processes in a single pm3.toml file. No complex setup — just TOML.
Smart Restarts
Exponential backoff, health checks, memory limits — your processes stay up.
Interactive TUI
Monitor everything in real-time from your terminal with a full-featured TUI.
Define. Start. Monitor.
pm3.toml
[web]
command = "node server.js"
cwd = "./frontend"
env = { PORT = "3000" }
health_check = "http://localhost:3000/health"
[api]
command = "python app.py"
restart = "always"
depends_on = ["web"]
[worker]
command = "node worker.js"
max_memory = "512M"
cron_restart = "0 3 * * *"$ pm3 list
┌────────┬───────┬───────┬────────┬──────┬──────┬────────┬──────────┐ │ name │ group │ pid │ status │ cpu │ mem │ uptime │ restarts │ ├────────┼───────┼───────┼────────┼──────┼──────┼────────┼──────────┤ │ web │ - │ 42150 │ online │ 1.2% │ 5.2M │ 2m 13s │ 0 │ │ api │ - │ 42153 │ online │ 0.8% │ 3.1M │ 2m 10s │ 0 │ │ worker │ - │ 42156 │ online │ 0.5% │ 2.8M │ 2m 10s │ 1 │ └────────┴───────┴───────┴────────┴──────┴──────┴────────┴──────────┘