Production-ready macOS shell configuration for DevOps engineers, SREs, and developers.
One-command setup β’ 200+ aliases β’ Starship prompt β’ Kubernetes tools β’ Fuzzy completion
π¦ Quick Start β’ β¨ Features β’ π Docs β’ βοΈ Configure
| Feature | Description |
|---|---|
| π¨ Starship Prompt | Beautiful prompt with Git, K8s, AWS, Docker status |
| β‘ 200+ Aliases | Shortcuts for Git, kubectl, Terraform, Docker |
| π Smart Plugins | fzf-tab, autosuggestions, syntax highlighting |
| π¦ 50+ DevOps Tools | k9s, stern, helm, argocd, trivy, and more |
| π οΈ Configurable | Toggle any package on/off via config.sh |
| π Idempotent | Safe to re-run, auto-creates backups |
# Clone
git clone https://github.com/yourusername/shell-bootstrap.git
cd shell-bootstrap
# (Optional) Customize
vim config.sh
vim config.sh
vim Brewfile
# Install
./bootstrap.sh| Command | Description |
|---|---|
./bootstrap.sh |
Interactive mode |
./bootstrap.sh --yes |
Non-interactive (CI/CD) |
./bootstrap.sh --help |
Show help |
| Tool | Description |
|---|---|
| Antidote | β‘ Fast Zsh plugin manager |
| Starship | π Cross-shell prompt |
| Zellij | πΊ Terminal multiplexer |
| Oh My Zsh | π Plugin framework |
| Tool | Description |
|---|---|
eza |
π Modern ls with icons |
bat |
π¦ cat with syntax highlighting |
fzf |
π Fuzzy finder |
ripgrep |
β‘ Fast grep |
fd |
π Fast find |
zoxide |
π Smarter cd |
btop |
π Beautiful system monitor |
mole |
πΉ Mac cleanup & optimizer |
| Tool | Description |
|---|---|
kubectl |
βΈοΈ Kubernetes CLI |
k9s |
πΆ Kubernetes TUI |
helm |
β K8s package manager |
stern |
π Multi-pod log tailing |
terraform |
ποΈ Infrastructure as Code |
argocd |
π GitOps CLI |
trivy |
π Security scanner |
opencode |
π€ AI terminal coding agent |
| App | Description |
|---|---|
| Warp | π€ AI-powered terminal |
| OrbStack | π³ Docker alternative |
| Lens | ποΈ Kubernetes IDE |
| VS Code | π Code editor |
Edit config.sh before installing:
# Core packages
INSTALL_ANTIDOTE=true # π Plugin manager
INSTALL_STARSHIP=true # π Prompt
INSTALL_K9S=true # πΆ K8s TUI
# Optional
INSTALL_NERD_FONT=true # π€ Required for icons
INSTALL_APPS=true # π¦ Install from apps.txtgs # git status
gp # git push
gl # git log --oneline
gco-fzf # checkout with fuzzy search
gac "msg" # add all + commitk # kubectl
kx / kn # switch context / namespace
kgp # kubectl get pods
kl # kubectl logs
ksh # shell into pod (fzf)dps # docker ps
dsh # shell into container
dc # docker-composetf # terraform
tfi / tfp # init / plan
tfa # applymo # Interactive menu
mo touchid # Enable Touch ID for sudo (RECOMMENDED!)
mo completion # Setup shell tab completion
mo status # Live system health dashboard
mo clean # Deep cleanup
mo clean --dry-run # Preview cleanup first
mo analyze # Visual disk explorer
mo uninstall # Remove apps + leftovers
mo optimize # Refresh caches & services
mo purge # Clean project build artifactsπ‘ Tips:
- Always run
mo clean --dry-runfirst to preview- Use
--debugfor detailed logs- Supports Vim bindings (
h/j/k/l)- In
mo status, presskto toggle cat,qto quit- Optional: Install quick launchers for Raycast/Alfred:
curl -fsSL https://raw.githubusercontent.com/tw93/Mole/main/scripts/setup-quick-launchers.sh | bash
opencode # Start AI coding session
opencode --version # Check versionπ‘ Oh My OpenCode (Multi-Agent Extension):
# Install Oh My OpenCode for enhanced multi-agent capabilities npx oh-my-opencode install # Or with bun bunx oh-my-opencode installFeatures: Background agents, Git mastery, multi-model support (Claude/ChatGPT/Gemini)
| Guide | Topics |
|---|---|
| π οΈ CLI Tools | eza, fzf, ripgrep, bat, btop |
| βΈοΈ DevOps Tools | kubectl, helm, terraform |
| π ZSH Plugins | Plugins explained |
| π Git Workflow | Aliases, lazygit, gh |
| π macOS Apps | Warp, OrbStack, Lens |
| β‘ Productivity | Workflows & shortcuts |
./uninstall.sh # Interactive menu
./uninstall.sh --config # Use uninstall_config.shshell-bootstrap/
βββ π bootstrap.sh # Main installer
βββ π uninstall.sh # Uninstaller
βββ βοΈ config.sh # Installation config
βββ πΊ Brewfile # Desktop apps list
βββ π docs/ # Documentation
βββ π shell/
βββ zsh/
β βββ aliases.zsh # 200+ aliases
β βββ functions.zsh # Utility functions
β βββ exports.zsh # Environment vars
β βββ tools.zsh # Tool init
β βββ plugins.list # Antidote plugins
βββ starship/
β βββ starship.toml # Prompt config
βββ zellij/
βββ config.kdl # Multiplexer config
| Platform | Status |
|---|---|
| Apple Silicon (M1/M2/M3/M4) | β Native |
| Intel Mac | β Compatible |
Contributions welcome! Please open an issue or PR.
Keywords: macOS terminal setup, zsh configuration, DevOps shell, Starship prompt, Kubernetes tools, kubectl aliases, terraform shortcuts, docker aliases, productivity shell, developer terminal, Apple Silicon terminal, M1 Mac terminal setup, dotfiles, shell bootstrap