A fast, simple TUI for interacting with systemd services and their logs.
systemctl-tui
can quickly browse service status and logs, start/stop/restart/reload services, and view/edit unit files. It aims to do a small number of things well.
Note: this project only works on Linux (WSL works if you have systemd enabled). Binaries are published for x64 and ARM64 in the GitHub releases, and distro packages are available.
Automated install/update (don't forget to always verify what you're piping into bash):
curl https://raw.githubusercontent.com/rgwood/systemctl-tui/master/install.sh | bash
The script installs downloaded binary to $HOME/.local/bin
directory by default, but it can be changed by setting DIR
environment variable.
If you'd rather build from scratch you will need Rust installed. Then either:
- Run
cargo install systemctl-tui --locked
- Clone the repo and run
cargo build --release
to get a release binary attarget/release/systemctl-tui
systemctl-tui
can be installed from the official repositories:
pacman -S systemctl-tui
A Nix package is available and can be installed as follows:
nix-shell -p systemctl-tui
- Alias
systemctl-tui
tost
for quick access - Create a symlink so
systemctl-tui
can be used with sudo:
sudo ln -s ~/.cargo/bin/systemctl-tui /usr/bin/systemctl-tui
- Inspired by the truly wonderful Lazygit
sysz
is so cool- Used
ratatui-template
to get started - systemd code partially taken from
servicer