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
lazygit

Everyday Workflow

What you wantHow
Stage filesSpace on the file in the Status pane
Stage alla in the Status pane
Write commit messagec then type your message and confirm
PushP (capital P)
Pullp (lowercase p)
Switch branch] to enter Branches pane, Enter on a branch
Create branchn in the Branches pane
View diffEnter on any file
Discard changesd on a file, confirm with Enter
Stashs in the Status pane
Pop stashShift+S then Enter on the stash
Interactive rebaser on a commit in the Commits pane
  • Tab / Shift+Tab — switch between panes (Status, Files, Local Branches, Commits, Stash)
  • ? — show all keybindings for the current pane
  • q — quit lazygit
  • Esc — close popup / go back
  • [ / ] — cycle between main panes

Tips

  • If ~/.local/bin is on your PATH, you can just type lazygit. Otherwise use the full path.
  • Press x in 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
lazydocker

Everyday Workflow

What you wantHow
View container logsEnter on a container, then l
Restart containerr on a container
Stop containers on a container
Remove containerd then confirm
View container stats (CPU/RAM)Enter on a container, then s
Shell into containerEnter on a container, then e
View image detailsEnter on an image
Remove imaged on an image
Prune unused imagesShift+P in the Images pane
View volume detailsEnter on a volume
View compose projectNavigate to the project in the left sidebar
Recreate containers with composeShift+R on a compose project
  • Tab / Shift+Tab — switch between panes (Containers, Services, Images, Volumes, Networks)
  • [ / ] — cycle between main panes
  • ? — show keybindings for the current pane
  • q — quit lazydocker
  • Esc — close popup / go back
  • x — open extra menu for the selected item

Tips

  • lazydocker auto-detects docker-compose.yml files in the current directory and shows compose projects.
  • The stats view lets you watch live CPU and memory usage per container.
  • Press b on 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
glances

Everyday Workflow

What you wantHow
Open the dashboardglances
Run in web mode (browser UI)glances -w then visit http://localhost:61208
Quitq or Ctrl+C
Sort processes by CPUc
Sort processes by MEMm
Sort processes by I/Oi
Sort processes by namep
Toggle sidebar2 (show/hide left sidebar)
Per-CPU view1
Show/hide containersShift+D
Show/hide GPU infog
Enable/disable disk I/OShift+I
Enable/disable network I/On
Enable/disable filesystem statsf
Enable/disable sensorss
Enable/disable process listShift+P
Manual refreshSpace
Helph

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 --password

Then open the URL it prints, or visit http://100.64.0.1:61208 from the Tailnet.

Tips

  • Use glances --time 2 to set the refresh interval to 2 seconds (default is 1).
  • Press d to show/hide docker containers in the process list (needs docker access).
  • The Iris web theme looks great — glances -w --theme iris.
  • Export to CSV/InfluxDB/Prometheus with --export (see glances --help for plugins).

Check Your PATH

All three tools are installed in ~/.local/bin. Verify your shell sees them:

which lazygit lazydocker glances

If 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 ~/.zshrc

Installed by Hermes Agent on 2026-08-21