First Run¶
Start The TUI¶
With no subcommand, Omni launches the interactive TUI. On a new machine it runs bootstrap first, then opens the dashboard.
Bootstrap does four jobs:
- Creates or loads
settings.json. - Detects available package managers.
- Ensures the current host exists.
- Offers to import installed tools or sync from config.
Agent migration is deliberately separate from bootstrap. Run
omni agents migrate --host <name> to print the APM manifest a pre-APM host's
declarations map to. After reviewing the preview, use --write, then run
omni agents sync. See Agent Migration.
CLI-Only Bootstrap¶
Use this path for servers, automation, or headless environments:
doctor is read-only. reconcile is the normal "make this machine healthy"
command: it refreshes state, syncs missing tools, repairs dotfile links, runs
available upgrades, claims discovered tools into this machine's host group, and
handles dotfile Git work. See Safety Model before running it on an
important machine.
First Tool¶
For one machine, add the tool directly to the machine group:
For a tool set you want to reuse across machines, create a reusable group and assign the logical tool to that group:
omni groups create dev
omni tools set ripgrep --provider brew
omni groups move-tool dev ripgrep
omni tools sync
Choose the concrete provider that should install the tool on this host. Provider priority controls which high-confidence search/bootstrap candidates Omni selects automatically.
First Dotfile¶
Omni stores dotfiles as GNU Stow packages. A Stow package is a directory in the
repo whose contents mirror the paths to link into $HOME. Omni owns the Stow
commands, but the package layout stays inspectable in Git.
Set a dotfiles repo, add a config path, and sync links:
omni settings set dots_repo ~/dotfiles
omni dots add ~/.config/nvim --group dev --adopt
omni dots sync
Use --group "$(hostname -s)" instead of --group dev for a machine-local
dotfile.
The dotfiles repo stores Stow packages under dotfiles/. Local files are linked
back to their original paths.
Add Another Machine¶
On the existing machine:
On the new machine:
You can also assign reusable groups directly:
Daily Workflow¶
Use the TUI dashboard for routine work, or run:
For targeted operations: