CLI commands
Every kordrun command and flag, dashboard keyboard shortcuts, log files, and how port conflicts are handled.
Run kordrun with no arguments to open the live dashboard. Otherwise, use one
of the commands below.
Commands
Run & supervise
| Command | Description |
|---|---|
kordrun start | Start every app in the Kordfile, in dependency order. |
kordrun stop | Stop all running apps. |
kordrun restart [app] | Restart everything, or a single app + its dependencies. |
kordrun status | Print each app's status, port, and URL. |
Logs & files
| Command | Description |
|---|---|
kordrun logs [app] [-f] | Show logs; -f / --follow keeps following them. |
kordrun open [app] | Open an app's URL in your browser. |
kordrun clean | Stop all apps, clear kordrun's local state, and remove its /etc/hosts entries. |
Licensing & setup
| Command | Description |
|---|---|
kordrun activate <key> | Save a license key and register this machine. |
kordrun license-id | Print this machine's id (for machine-bound licenses). |
kordrun install-extension | Install the Kordfile syntax extension for VS Code. |
kordrun feedback [--never] | Share a rating + comment (shown on the site once approved). --never stops the reminder. |
kordrun hosts [--clear] | Show or remove the /etc/hosts entries kordrun manages. |
Maintenance
| Command | Description |
|---|---|
kordrun update [--check] | Download, verify, and install the latest published version. Restart to apply. --check only reports whether one exists. |
kordrun uninstall [-y] [--keep-config] | Remove kordrun: the binary, ~/.kordrun, and the /etc/hosts entries it manages. |
kordrun update compares your installed version against the latest published
build for your platform, downloads it, verifies its checksum, and swaps it in
place. It never installs a binary whose checksum doesn't match. The dashboard
also checks on launch and shows ⬆ update available · run kordrun update in the
header — nothing is installed until you run kordrun update. Updates only come
over https, and kordrun never installs an older version than the one running.
kordrun uninstall asks before removing anything (skip with -y). It deletes
the binary from every install location, clears the /etc/hosts entries kordrun
added, and removes ~/.kordrun (your saved license key and session). Pass
--keep-config to keep ~/.kordrun for a later reinstall. Per-project
.kordrun folders (runtime state inside your own projects) are left untouched.
Dashboard shortcuts
Run kordrun with no arguments to open the dashboard. Press ? for this list.
| Keys | Action |
|---|---|
↑ ↓ / j k | Move between apps |
o / Enter | Open the selected app in your browser |
s / r / x | Start / restart / stop the selected app |
S / R / X | Start / restart / stop all apps |
c | Clean selected — stop it and delete its logs |
C | Clean all — stop everything and wipe .kordrun |
/ | Filter logs — Enter to apply, Esc to clear |
n / p | Jump to next / previous match |
a | Toggle the all-apps log view |
PgUp / PgDn | Scroll logs — Home / End for top / bottom |
⌥ / Shift + drag | Select and copy log text |
e | Install the editor extension |
f | Send feedback |
q | Quit (apps keep running) |
Logs
Each app writes to .kordrun/logs/<app>.log in your project (or the name set
with logs). A log over 10 MB is rotated to <file>.1 when the app starts, and
restart begins a fresh log.
Port conflicts
If an app's port is already in use by a process kordrun didn't start, it asks before killing it:
some required ports are already in use:
port 3000 · 'web' held by 'node' (pid 12345)
kill them and continue? [y/N]Answer y to free the port and start; kordrun never kills an unrelated process
without your confirmation. When not run in an interactive terminal (CI, pipes),
it leaves them alone and the app may fail to start.