micromux

micromux

A local process supervisor with a terminal UI: Docker Compose for the processes of your dev stack, without the containers.

Homebrew brew install --cask romnn/tap/micromux
Cargo cargo install --locked micromux-cli

Runs on Linux and macOS; on Windows, only the TUI works.

The micromux TUI: a sidebar of ten services, each with its state, such as HEALTHY, RUNNING, COMPLETED, UNHEALTHY, BLOCKED and IDLE, beside the live logs of the selected API server. The micromux TUI: a sidebar of ten services, each with its state, such as HEALTHY, RUNNING, COMPLETED, UNHEALTHY, BLOCKED and IDLE, beside the live logs of the selected API server.
HEALTHY
its healthcheck passes
UNHEALTHY
its healthcheck fails
RUNNING
up, with no healthcheck
BLOCKED
waits for a dependency
COMPLETED
a job that exited with 0
IDLE
a manual job not run yet

How it works#

  1. List the commands you already run in a micromux.yaml: a database, a migration, an API, a frontend.
  2. micromux starts each one when its dependencies are ready: once they started, reported healthy, or completed, as a migration job does.
  3. Watch and steer the whole stack in one TUI: read each service’s logs, restart it, or turn it off.
  4. Scripts and coding agents steer the same session with micromux ctl and the MCP server. A restart from there waits for dependencies too.

Try it#

Put a micromux.yaml in your project:

micromux.yaml
version: "1"
services:
  postgres:
    command: postgres -D ./pgdata
    healthcheck:
      test: pg_isready -q

  api:
    command: ./run-api
    depends_on:
      - name: postgres
        condition: healthy

Run micromux in that directory. It starts postgres, starts api once postgres reports healthy, and opens the TUI. Press q to stop both.

micromux

Then read on:

  • Getting started walks through a first stack, step by step.
  • Features⁠ in the README shows jobs, ports and hostnames, structured logs and agent control in short.
  • The guides cover every key, pane and command.
Esc

Type # for headings only ↑↓ move ↵ open Ctrl ↵ new tab Ctrl U/D scroll preview

Keyboard shortcuts

/ ⌘ K Ctrl K
Search
← →
Previous or next page
?
Show these shortcuts