Installation
Install mkunit on your system.
Requirements
- Linux with systemd
- Rust/Cargo installed (rustup.rs)
Install via Cargo
cargo install mkunit
Make sure ~/.cargo/bin is in your PATH:
# Add to ~/.bashrc or ~/.zshrc
export PATH="$HOME/.cargo/bin:$PATH"
Verify Installation
mkunit --version
Shell Completions
Set up tab completion for your shell:
Bash
# Add to ~/.bashrc
eval "$(mkunit completions bash)"
Zsh
# Add to ~/.zshrc (before compinit)
eval "$(mkunit completions zsh)"
Fish
mkunit completions fish > ~/.config/fish/completions/mkunit.fish
See completions command for more details.
Upgrading
cargo install mkunit --force
Uninstalling
cargo uninstall mkunit
Next Steps
- Quick Start Guide - Create your first service
- service command - Learn service creation options