Skip to content

CLI help (generated)

Captured from safe --help / help invocations. If a binary is missing or help fails, a source Usage excerpt may be used. Do not treat this page as inventing flags beyond what the scripts print.

./dots

DOTS — machine environment manager  (v1.13.3)

Usage:
  ./dots setup [options]            Interactive or noninteractive setup / reconfigure...
  ./dots tui [--profile NAME|PATH] [--dry-run] Interactive profile editor for individual software...
  ./dots install SELECTOR [--dry-run] [--yes] [--only] [--no-apply] [--profile NAME] Persist a known DOTS capability to desired profile...
  ./dots upgrade [--dry-run] [--yes] [--profile NAME] [--all] Upgrade outdated Homebrew software in the active...
  ./dots status                     Show current DOTS state (profile, packages summary...
  ./dots components [list|active|show ID] Inspect optional components and --with selectors.
  ./dots lsp [status|check|install|list] Language-server install, status, and checks.
  ./dots ai [status|doctor|up|down|…] AI inference server (Compose + Open WebUI) control...
  ./dots agent [status|doctor|sandbox|models|scout|eval|team|run|…] Local-first agent harness (Pi, OpenRig, evals...
  ./dots packages [groups|group|leaves|plan|status|explain|outdated|upgrade|adopt|audit] Package ownership, installability audit, drift...
  ./dots backup [--name N]          Snapshot managed targets under...
  ./dots backups                    List recoverable DOTS snapshots.
  ./dots restore [ID]               Restore a snapshot (creates a safety snapshot first).
  ./dots profile [list|show|plan|resolve|add|remove|add-package|remove-package|mutate|diff|apply|create|switch] Inspect, edit via sparse overlays, switch, or apply...
  ./dots models [discover|pull|…]   Local model plan, discovery, and pull workflows.
  ./dots check [--profile NAME] | dots check fast|workflows|docs|all-local|act|release-notes|security|containers|k8s|dev|data|geo|media|backup|network|hardware|infra Machine health plus local CI, docs, security...
  ./dots update                     Pull latest DOTS repo and optionally reapply setup...
  ./dots help [topic] [--plain] [--search QUERY] [--cheatsheet] Interactive Textual help (dots-help) for this machine.
  ./dots shell [status|keys|startup] Inspect shell, prompt, and keybinding ownership.
  ./dots completion [status|paths]  DOTS CLI completion and fzf-tab diagnostics.

Interactive help:
  ./dots help              Textual TUI (dots-help)
  dots-help                same launcher
  man dots                 Unix manual

Optional components use profile with= or ./setup.sh --with <ids>
(see ./dots components list). Docs:
  https://sempervent.github.io/dots/using/components/

Automation / expert scripts (still supported):
  ./bootstrap.sh   ./setup.sh   ./configure.sh
  ./scripts/pull_models.sh   ./scripts/check.sh

./bootstrap.sh

Usage: ./bootstrap.sh [options]

Onboard / refresh a machine using a declarative profile, then invoke setup.sh.

Options:
  --profile <name|path>  Builtin: base | home | work | server | all | current
                         Or a custom TOML path (absolute, relative, or ~/…)
  --with <list>          Add components/supergroups onto the profile baseline
  --without <list>       Remove components/supergroups from the effective set
  --show                 Print resolved components/packages/runtime and exit
  --dry-run              Preview (passed through to setup.sh; no mutations)
  --no-install           Resolve/verify only; do not install missing software
  --check-only           Run scripts/check.sh for the profile (no setup)
  --open-apps            After setup, open selected/installed apps (macOS GUI)
  --no-open              Never open apps (default)
  --pull-models          After setup, run scripts/pull_models.sh (explicit)
  --model-tier <tier>    Pass-through to pull_models when --pull-models is set
  -h, --help             Show this help

Selectors (--with / --without):
  Components:
    herdr        Terminal multiplexer (Brewfile.herdr)
    hermes       Hermes agent CLI (+ macOS hermes-desktop)
    ollama       Local LLM runtime (no models pulled)
    llamacpp     llama.cpp runtime (Homebrew; models via pull_models.sh)
    archify      Archify skill only (also included in --with skills)
    skills       Curated engineering skill pack (includes Archify)
    ai-skills    Curated AI/agent engineering skill pack
    drawthings   Draw Things CLI + MCP bridge + img (GUI/models are macOS-oriented)
    opencode     Local/general coding adapter
    codex        Frontier coding via Homebrew cask Codex
    cursor       Cursor Agent CLI (explicit opt-in)
    fluidvoice   Local voice-to-text dictation app with optional AI enhancement
    images       Deterministic image toolkit (Magick, etc.)
    tex          Homebrew TeX Live (CLI)
    mactools     Optional macOS workstation layer (Vorssaint, f.lux, automation/GUI apps; Brewfile.mactools)
    karabiner-elements Optional keyboard remapper (install-only; no mappings, no TCC/system-extension approval)
    orbstack     Optional Darwin Docker-compatible runtime (install-only; never auto-start or remove Docker Desktop)
    davinci-resolve Optional professional NLE via Mac App Store (mas; install-only; never launch, scan media, or require App Store auth globally)
    mitmproxy    Opt-in HTTP interception CLIs (install-only; never start proxy, trust CA, or change system proxy)
    syncthing    Opt-in peer sync client (install-only; never start daemon, pair devices, or create folders)
    lsp          Language servers for DOTS development/editor workflows
    ai-server    Server stack: llama.cpp (llama-server) + Open WebUI via Docker Compose (opt-in models)
    pi           Programmable coding-agent runtime for DOTS local-first agent orchestration (npm; Node ≥22.19)
    litellm      Unified model gateway for local and remote agent inference (localhost Compose; OpenRouter via env)
    agent-sandbox Filesystem/network policy and OS-level command sandbox for DOTS agents (provider: pi-sandbox)
    openrig      Persistent multi-agent orchestration for Pi, Codex and other coding runtimes (npm @openrig/cli; Node ≥22)
  Supergroups:
    ai           AI applications — Local runtimes, coding agents, and the LSP toolchain for this platform
  List: ./dots components list
  Run:  dots-help components

Happy paths:
  ./bootstrap.sh --profile home      # personal Mac (auto-provisions brew/python)
  ./bootstrap.sh --profile work      # employer Mac
  ./bootstrap.sh --profile server    # headless Linux
  ./bootstrap.sh --profile base      # minimal core
  ./bootstrap.sh --profile work --no-install   # managed hosts: fail if deps missing
  ./bootstrap.sh --profile work --with ai      # EXPLICIT opt-in: add AI apps
  ./bootstrap.sh --profile base --with ai --without cursor
  ./bootstrap.sh --profile home --with fluidvoice

Policy:
  Profiles are explicit authorization for THAT run.
  Binary presence alone never authorizes configuration.
  --with ai is explicit consent for every effective AI member on this platform.
  --without ai removes every AI-supergroup member (even if from the profile).
  Stage 0 auto-provisions Homebrew/Python via official channels when needed.
  --show / --dry-run never mutate.
  Large model downloads are never implied by ordinary bootstrap (use --pull-models
  or ./scripts/pull_models.sh explicitly).

See README.md for package groups, runtime policy, and local overrides.

./setup.sh

Usage: ./setup.sh [options]

Install / refresh dotfiles (idempotent). Safe to re-run.

Options:
  --with <list>     Comma-separated components and/or supergroups.
                    Components:
                      herdr        Terminal multiplexer (Brewfile.herdr)
                      hermes       Hermes agent CLI (+ macOS hermes-desktop)
                      ollama       Local LLM runtime (no models pulled)
                      llamacpp     llama.cpp runtime (Homebrew; models via pull_models.sh)
                      archify      Archify skill only (also included in --with skills)
                      skills       Curated engineering skill pack (includes Archify)
                      ai-skills    Curated AI/agent engineering skill pack
                      drawthings   Draw Things CLI + MCP bridge + img (GUI/models are macOS-oriented)
                      opencode     Local/general coding adapter
                      codex        Frontier coding via Homebrew cask Codex
                      cursor       Cursor Agent CLI (explicit opt-in)
                      fluidvoice   Local voice-to-text dictation app with optional AI enhancement
                      images       Deterministic image toolkit (Magick, etc.)
                      tex          Homebrew TeX Live (CLI)
                      mactools     Optional macOS workstation layer (Vorssaint, f.lux, automation/GUI apps; Brewfile.mactools)
                      karabiner-elements Optional keyboard remapper (install-only; no mappings, no TCC/system-extension approval)
                      orbstack     Optional Darwin Docker-compatible runtime (install-only; never auto-start or remove Docker Desktop)
                      davinci-resolve Optional professional NLE via Mac App Store (mas; install-only; never launch, scan media, or require App Store auth globally)
                      mitmproxy    Opt-in HTTP interception CLIs (install-only; never start proxy, trust CA, or change system proxy)
                      syncthing    Opt-in peer sync client (install-only; never start daemon, pair devices, or create folders)
                      lsp          Language servers for DOTS development/editor workflows
                      ai-server    Server stack: llama.cpp (llama-server) + Open WebUI via Docker Compose (opt-in models)
                      pi           Programmable coding-agent runtime for DOTS local-first agent orchestration (npm; Node ≥22.19)
                      litellm      Unified model gateway for local and remote agent inference (localhost Compose; OpenRouter via env)
                      agent-sandbox Filesystem/network policy and OS-level command sandbox for DOTS agents (provider: pi-sandbox)
                      openrig      Persistent multi-agent orchestration for Pi, Codex and other coding runtimes (npm @openrig/cli; Node ≥22)
                    Supergroups:
                      ai           AI applications — Local runtimes, coding agents, and the LSP toolchain for this platform
                    List: ./dots components list
                    Run:  dots-help components
  --with=<list>     Same as --with <list>
  --without <list>  Exclude selectors after expansion (profile without / CLI)
  --without=<list>  Same as --without <list>
  --dry-run         Preview actions without modifying the machine
  -h, --help        Show this help

Discover selectors: ./dots components list
Docs: https://sempervent.github.io/dots/using/components/

Consent vs presence:
  A binary already on PATH does NOT authorize DOTS to configure it.
  AI client config runs only for components listed in --with this run.
  --with ai expands to every AI application supported on this machine and is
  explicit consent for those expanded members (same as listing each id).
  Prefer ./bootstrap.sh --profile {base,home,work,all|path.toml} for onboarding.
  Edit profiles with ./configure.sh (writes TOML only).

Examples:
  ./setup.sh
  ./setup.sh --with herdr
  ./setup.sh --with fluidvoice
  ./setup.sh --with mactools
  ./setup.sh --with herdr,hermes,mactools
  ./setup.sh --with ai
  ./setup.sh --with ai --without cursor
  ./setup.sh --with cursor
  ./setup.sh --with ai-skills
  ./setup.sh --with skills,ai-skills
  ./setup.sh --with hermes,skills,ai-skills
  ./setup.sh --with herdr,cursor
  ./setup.sh --with drawthings
  ./setup.sh --with hermes,drawthings
  ./setup.sh --with cursor,drawthings
  ./setup.sh --with skills
  ./setup.sh --with images,tex
  ./setup.sh --with lsp
  ./setup.sh --dry-run --with ai
  ./bootstrap.sh --profile home
  ./bootstrap.sh --profile work --with ai
  ./configure.sh --help

Default ./setup.sh installs core shell UX (fnm, Starship, Nerd Font, Neovim,
terminal-notifier) but does NOT install AI tools, agent skills, or models.

Environment (runtime shells, not installer):
  DOTS_MULTIPLEXER=tmux|herdr|none   (default: tmux)
  DOTS_AUTO_TMUX=0                   disable auto tmux (compat)
  DOTS_PROMPT_STATS=1                enable prompt dir stats (legacy)
  DOTS_GREETING=0                    silence fortune greeting
  DOTS_HERMES_NOTIFY_THRESHOLD=60    Hermes notify min session seconds

./configure.sh

Usage: ./configure.sh [options]

Create or edit a bootstrap profile TOML. Never installs packages or mutates AI configs.

Preferred customization: extend a builtin preset into ~/.config/dots/profiles/.

Options:
  --output <path>       Write profile TOML to this path
  --extends <name|path> Inherit from a builtin/custom profile (writes extends=)
  --from <name|path>    Clone resolved components from a profile (no extends=)
  --with <list>         Components to include (CSV)
  --without <list>      Components to exclude (CSV)
  --packages-add <list> Package groups to add (CSV)
  --packages-remove <l> Package groups to remove (CSV)
  --multiplexer <m>     Runtime multiplexer: tmux|herdr|none
  --name <name>         Profile name field (default: output basename)
  --description <t>     Profile description
  --force               Overwrite existing output without prompting
  --show <name|path>    Show resolved profile and exit
  -h, --help            Show this help

Examples:
  ./configure.sh --extends server --output ~/.config/dots/profiles/bertha.toml \
    --name bertha --packages-add infra --multiplexer herdr
  ./configure.sh --extends work --output ~/.config/dots/profiles/corp-work.toml \
    --with images --packages-add infra
  ./configure.sh --extends home --output ~/.config/dots/profiles/home-studio.toml \
    --without cursor --multiplexer tmux
  ./configure.sh --show ~/.config/dots/profiles/bertha.toml

./scripts/check.sh

Usage: ./scripts/check.sh [--profile base|home|work|server|all|current|/path/to/profile.toml]

./scripts/pull_models.sh

Usage: ./scripts/pull_models.sh [options]

Select and download local models according to hardware + configs/models.toml.
Bootstrap/setup do NOT pull large models by default.

Options:
  --list              Show hardware, tier, plan, and local status (no mutations)
  --dry-run           Print actions without downloading / starting services
  --yes               Skip confirmation prompts
  --tier <name>       minimal|balanced|large|max|auto (default: auto)
  --provider <name>   ollama|llamacpp|drawthings|fluidvoice|all (repeatable)
  --model <id>        Registry model id (repeatable)
  --update            Re-pull registry targets even if present
  --include-cleanup   Include optional Fluid-1 cleanup model
  -h, --help          Show this help

Examples:
  ./scripts/pull_models.sh --list
  ./scripts/pull_models.sh --dry-run
  ./scripts/pull_models.sh --provider ollama --tier balanced
  ./scripts/pull_models.sh --yes

User overrides: ~/.config/dots/models.toml

./dots tui

Usage:
  ./dots tui [--profile NAME|PATH] [--dry-run]

Options:
  --profile PROFILE    Open the profile editor targeting PROFILE.
                       Does not activate PROFILE merely by opening it.
  --dry-run            Simulate profile saves and applies.

Launch the Textual profile editor for individual software, package groups,
components, bundles, and upgrades. It is a front-end over DOTS registries
and helpers/profile_edit.sh.

Noninteractive fallback commands remain available without Textual:
  ./dots install   ./dots upgrade   ./dots profile   ./dots setup   ./dots status

./dots install

Usage: ./dots install SELECTOR [options]

Add a known DOTS capability (package group, component, supergroup, or package)
to this machine's persistent desired profile and converge toward it.

Does NOT install arbitrary undeclared packages (use ./dots packages adopt
for maintainer Brewfile declarations).

Options:
  --dry-run         Preview owner resolution, profile diff, and package plan
  --only            Persist explicit package only (leaf-selectable packages)
  --yes, -y         Skip confirmation prompt
  --no-apply        Persist desired profile update without running bootstrap
  --profile NAME    Target profile (default: active profile)

Examples:
  ./dots install dev
  ./dots install hyperfine
  ./dots install raycast --only --dry-run
  ./dots install karabiner-elements
  ./dots install ai
  ./dots install sshuttle --dry-run

./dots upgrade

Usage: ./dots upgrade [--dry-run] [--json] [--yes] [--profile NAME|PATH] [--all]

Upgrades installed Homebrew software in the active DOTS desired scope.
Does NOT pull the DOTS repo (that is ./dots update).
Does NOT run brew bundle cleanup, brew cleanup, or OS apt/dnf/pacman/xbps upgrades.

Options:
  --dry-run         Preview outdated managed, excluded, and undeclared packages
  --json            Emit structured JSON preview (implies --dry-run)
  --yes, -y         Skip confirmation prompt
  --profile NAME    Scope upgrades to NAME without changing active profile
  --all             Also upgrade Homebrew packages outside active DOTS desired state

./dots packages

Usage:
  ./dots packages              interactive menu (TTY) or status
  ./dots packages groups       list capability groups (+ active marker)
  ./dots packages group ID     inspect one group (brewfile, membership, states)
  ./dots packages plan [--profile NAME|PATH]
                               resolved package plan (read-only; no mutation)
  ./dots packages status       full ownership report (read-only)
  ./dots packages explain NAME explain one package (owners + activate hint)
  ./dots packages outdated     outdated managed packages
  ./dots packages upgrade      upgrade packages in the resolved desired set
  ./dots packages upgrade --all
                               also upgrade Homebrew packages outside desired set
  ./dots packages adopt NAME [--group G|--component C] [--cask]
                               print suggested Brewfile declaration (no auto-edit)
                               (packages with component owners → use --with instead)
  ./dots packages audit [--json] [--strict]
                               offline registry / Brewfile / platform-map audit

groups = capability ownership (configs/packages/groups.toml)
plan   = resolved package actions for a profile, without mutation

Ownership vocabulary:
  managed     declared by resolved DOTS config + package-manager owned
  missing     declared but absent
  outdated    declared, managed, update available
  external    declared; app exists outside Homebrew ownership
  inactive    installed; known DOTS owner(s) but none selected
  undeclared  installed; no DOTS group/component owner

Activate hints:
  group owner      → profile packages = […]  (not --with)
  component owner  → profile with= / ./dots setup --with

known ≠ selected ≠ installed. Upgrade default = active managed only.
Docs: https://sempervent.github.io/dots/using/package-groups/

DOTS never runs brew bundle cleanup or uninstalls undeclared software.

./dots components

Usage:
  ./dots components              interactive menu (TTY) or list
  ./dots components list         components + supergroups (host compat)
  ./dots components active       profile / groups / components (informational)
  ./dots components show ID      detail (Brewfile tokens, skills, members)

Optional components are selected via profile with= or:
  ./dots setup --with <ids>   ./setup.sh --with <ids>

Active inventory is INFORMATIONAL only — not AI consent.
Docs: https://sempervent.github.io/dots/using/components/

./dots profile

Usage:
  ./dots profile                             Interactive profile menu (TTY) or show
  ./dots profile list [--json]               List builtin, custom, and overlay profiles
  ./dots profile show [PROFILE] [--json]     Show resolved profile (read-only)
  ./dots profile plan [options] --json       Preview delta impact without mutating
  ./dots profile resolve SELECTOR --json     Resolve capability/package owner
  ./dots profile add SELECTOR [options]      Persist capability into sparse overlay
  ./dots profile remove SELECTOR [options]   Remove capability from desired state (no uninstall)
  ./dots profile mutate [options]            Atomic batch add/remove into sparse overlay
  ./dots profile diff [PROFILE]              Show local overlay additions/removals
  ./dots profile apply [PROFILE] [--dry-run] Converge machine toward profile
  ./dots profile create [configure.sh args]  Create/edit profile TOML via configure.sh
  ./dots profile switch PROFILE [--apply]    Switch active profile pointer

Options for add/remove/mutate:
  --profile NAME|PATH   Target profile (default: active profile)
  --apply               Converge via bootstrap.sh after updating profile
  --dry-run             Preview diff without writing files
  --yes, -y             Skip confirmation prompt

./dots models

Usage:
  ./dots models discover [--verbose] [--json]
  ./dots models              interactive menu (TTY) or discover (non-TTY)
  ./dots models --list       same as ./scripts/pull_models.sh --list

Discover scans local stores (Ollama, llama.cpp cache, Draw Things, HF, conventions)
without requiring ai-server setup. Pull/install uses pull_models.sh (see menu).

./dots backup

Usage: ./dots backup [--name NAME] | ./dots backup import-legacy

./dots restore

Usage: ./dots restore [snapshot-id] [--dry-run] [--yes]