Install cosmobar
Install the cosmobar status line and walk the user through setup. cosmobar is a single static Go binary (macOS/Linux). Follow these steps in order.
Steps
Check whether it's already installed. Run
command -v cosmobar.- If found: tell the user cosmobar is already installed, run
cosmobar upgrade --checkto report whether a newer release exists, and skip to step 5 (offer to configure). Do not re-download.
- If found: tell the user cosmobar is already installed, run
Install the binary. Run the official installer:
curl -sS https://raw.githubusercontent.com/oleksbard/cosmobar/main/install.sh | shThe user will see the normal Bash permission prompt for this command — that is expected and intentional. Show the installer's output. If the download fails (network error, non-zero exit), report the failure and give the user the same
curl … | shcommand to run themselves, then stop.Verify the install. Run
cosmobar --version.- If it prints a version, continue.
- If it reports "command not found", the binary was installed to
~/.local/bin, which is not on the user'sPATH. Tell the user to add it (export PATH="$HOME/.local/bin:$PATH"in their shell profile) and, for the next step, use the full path~/.local/bin/cosmobar.
Initialize. Run
cosmobar init(or~/.local/bin/cosmobar initif it wasn't onPATH). This wires~/.claude/settings.json, writes a default config to~/.config/cosmobar/config.toml, and installs the/cosmobarguided-setup skill.Hand off to guided setup. The
/cosmobarskill is now available. Continue directly into the cosmobar guided configuration (discover segments and themes, interview the user, apply) so install and configuration happen in one flow.
Notes
- macOS/Linux only.
- Everything is reversible:
cosmobar uninstallremoves the wiring (add--purgeto also delete the config and binary).