CLI Tools Guide
A quick reference for the terminal utilities installed on the ProDG Mainframe.
lazygit
Terminal UI for git. Open inside any git repository.
# Launch (open in the current git repo)
~/.local/bin/lazygit
# Or just `lazygit` if ~/.local/bin is on your PATH
lazygitEveryday Workflow
| What you want | How |
|---|---|
| Stage files | Space on the file in the Status pane |
| Stage all | a in the Status pane |
| Write commit message | c then type your message and confirm |
| Push | P (capital P) |
| Pull | p (lowercase p) |
| Switch branch | ] to enter Branches pane, Enter on a branch |
| Create branch | n in the Branches pane |
| View diff | Enter on any file |
| Discard changes | d on a file, confirm with Enter |
| Stash | s in the Status pane |
| Pop stash | Shift+S then Enter on the stash |
| Interactive rebase | r on a commit in the Commits pane |
Navigation
Tab/Shift+Tab— switch between panes (Status, Files, Local Branches, Commits, Stash)?— show all keybindings for the current paneq— quit lazygitEsc— close popup / go back[/]— cycle between main panes
Tips
- If
~/.local/binis on your PATH, you can just typelazygit. Otherwise use the full path. - Press
xin any pane to see extra actions (e.g. soft/hard reset, fixup). - You can press
@to jump to the filter/search box.
lazydocker
Terminal UI for managing Docker containers, images, volumes, and networks.
# Launch
~/.local/bin/lazydocker
# Or just `lazydocker` if on PATH
lazydockerEveryday Workflow
| What you want | How |
|---|---|
| View container logs | Enter on a container, then l |
| Restart container | r on a container |
| Stop container | s on a container |
| Remove container | d then confirm |
| View container stats (CPU/RAM) | Enter on a container, then s |
| Shell into container | Enter on a container, then e |
| View image details | Enter on an image |
| Remove image | d on an image |
| Prune unused images | Shift+P in the Images pane |
| View volume details | Enter on a volume |
| View compose project | Navigate to the project in the left sidebar |
| Recreate containers with compose | Shift+R on a compose project |
Navigation
Tab/Shift+Tab— switch between panes (Containers, Services, Images, Volumes, Networks)[/]— cycle between main panes?— show keybindings for the current paneq— quit lazydockerEsc— close popup / go backx— open extra menu for the selected item
Tips
- lazydocker auto-detects
docker-compose.ymlfiles in the current directory and shows compose projects. - The stats view lets you watch live CPU and memory usage per container.
- Press
bon a container to quickly view all its bindings (mounts, env, labels).
glances
System monitoring dashboard. Shows CPU, RAM, disk, network, and processes in one view.
# Launch (terminal UI)
~/.local/bin/glances
# Or just `glances` if on PATH
glancesEveryday Workflow
| What you want | How |
|---|---|
| Open the dashboard | glances |
| Run in web mode (browser UI) | glances -w then visit http://localhost:61208 |
| Quit | q or Ctrl+C |
| Sort processes by CPU | c |
| Sort processes by MEM | m |
| Sort processes by I/O | i |
| Sort processes by name | p |
| Toggle sidebar | 2 (show/hide left sidebar) |
| Per-CPU view | 1 |
| Show/hide containers | Shift+D |
| Show/hide GPU info | g |
| Enable/disable disk I/O | Shift+I |
| Enable/disable network I/O | n |
| Enable/disable filesystem stats | f |
| Enable/disable sensors | s |
| Enable/disable process list | Shift+P |
| Manual refresh | Space |
| Help | h |
Web Mode
# Start glances web server (binds to localhost:61208 by default)
glances -w
# Bind to all interfaces (use with Tailscale or reverse proxy)
glances -w --bind 0.0.0.0
# Set a password for the web UI
glances -w --passwordThen open the URL it prints, or visit http://100.64.0.1:61208 from the Tailnet.
Tips
- Use
glances --time 2to set the refresh interval to 2 seconds (default is 1). - Press
dto show/hide docker containers in the process list (needsdockeraccess). - The
Irisweb theme looks great —glances -w --theme iris. - Export to CSV/InfluxDB/Prometheus with
--export(seeglances --helpfor plugins).
Check Your PATH
All three tools are installed in ~/.local/bin. Verify your shell sees them:
which lazygit lazydocker glancesIf any say “not found”, add this to your ~/.bashrc or ~/.zshrc:
export PATH="$HOME/.local/bin:$PATH"Then reload your shell:
source ~/.bashrc # or source ~/.zshrcInstalled by Hermes Agent on 2026-08-21