Profiles
| Item | Default | Profile dev |
|---|---|---|
| State: config, sessions, logs, memory | ~/.openprogram/ | ~/.openprogram-dev/Any name: ~/.openprogram-<name>/ |
| Port: API, WebSocket and web UI | 18100http://localhost:18100 | openprogram --profile dev ports --port 18200http://localhost:18200 |
| Start | openprogram web | openprogram --profile dev web |
| Check | openprogram status | openprogram --profile dev status |
| Login service | openprogram worker install | openprogram --profile dev worker install |
Instances share no data. Each profile gets its own login service, so worker start, stop, restart, status and uninstall act only on the active profile, and stopping or upgrading dev leaves the default worker alone.
Other ways to choose a profile or port
| Way | Example |
|---|---|
| Global flag, before any subcommand; wins over the variable | openprogram --profile dev sessions listopenprogram --profile dev worker restart |
| Profile by environment | OPENPROGRAM_PROFILE=dev openprogram |
| Port for this run | OPENPROGRAM_WEB_PORT=18200 openprogram web |
Port for this openprogram web only | openprogram web --web-port 18200 |
Last updated · 2026-11-25