TL;DR — Quick Summary
mprocs runs multiple commands in a single TUI. Manage dev servers, watchers, and background tasks side by side — like tmux but for processes, not shells.
mprocs runs all your dev commands in one terminal. Switch between outputs, restart individually.
Installation
# macOS
brew install mprocs
# Cargo
cargo install mprocs
Usage
# Run multiple commands
mprocs 'npm run dev' 'npm run watch' 'npm run test:watch'
# With config file
mprocs
Configuration
# mprocs.yaml
procs:
server:
cmd: ["npm", "run", "dev"]
css:
cmd: ["npm", "run", "watch:css"]
tests:
cmd: ["npm", "run", "test:watch"]
cwd: ./packages/core
env:
NODE_ENV: test
Keybindings
j/k → switch process
r → restart process
x → stop process
q → quit all
Summary
- mprocs runs multiple processes in a single TUI
- Switch between process outputs with keyboard
- Restart/stop individual processes
- YAML config for persistent definitions
- Written in Rust — lightweight, fast startup