A minimal, POSIX-compliant shell script to install essential CLI utilities across different platforms.
- Linux: Alpine, Arch, Ubuntu/Debian, Fedora/RHEL, etc.
- macOS: via Homebrew or direct downloads
- FreeBSD: via pkg or direct downloads
- WSL: any Linux distribution
- fzf: Command-line fuzzy finder
- bat: Cat clone with syntax highlighting
- zoxide: Smarter cd command
- cheat: Interactive cheatsheets
./util/install-utils.shThe script will:
- Detect your OS and package manager
- Attempt to install via package manager (fastest)
- Fall back to downloading from GitHub releases if needed
- Install binaries to
~/.local/binor~/.fzf/bin
curl(for downloading from GitHub)sudoaccess (for package manager installations)- Internet connection
Make sure these directories are in your PATH:
export PATH="$HOME/.local/bin:$HOME/.fzf/bin:$PATH"Add this to your shell config (~/.zshrc, ~/.bashrc, etc.)