24 releases (1 stable)
Uses new Rust 2024
| 1.0.0 | May 13, 2026 |
|---|---|
| 0.2.21 | Nov 20, 2025 |
| 0.2.18 | Oct 10, 2025 |
| 0.2.14 | Apr 15, 2025 |
| 0.2.11 | May 28, 2024 |
#247 in Development tools
54KB
1.5K
SLoC
tend
tend is a command-line process manager for commands you run often. Save a command as a job, run one job or a group of jobs, and let tend restart them when they exit or when output hooks match.
It is useful for local development services, port forwards, and other long-running commands you want to start and supervise together.
Installation
Homebrew (macOS / Linux):
brew install lkurcak/tap/tend
Winget (Windows):
winget install lkurcak.tend
Snapcraft:
sudo snap install tend
Binary: Download
Cargo:
cargo install tend --locked
Quick Start
# Create a job named "hello"
tend create hello ping 8.8.8.8
# Run the job
tend run hello
# List saved jobs
tend list
Press Ctrl+C to stop running jobs.
Jobs are stored in ~/.tend/jobs as JSON files.
Examples
Run jobs by group:
tend create --group dev postgres kubectl port-forward svc/postgres 5432:5432
tend run --group dev
Run a shell command:
# Linux
tend create time sh -- -c 'echo "Time: $(date)"'
# Windows
tend create time cmd -- /C "echo Time: %TIME%"
Restart only after failures:
tend create --restart on-failure api cargo run
Use the port-forward template:
tend create --template port-forward postgres kubectl port-forward svc/postgres 5432:5432
See EXAMPLES.md for hooks that restart or stop jobs based on command output.
License
Dual-licensed under MIT or the UNLICENSE.
Dependencies
~14–20MB
~268K SLoC