View Markdown

Maintenance

A few commands keep the CLI itself healthy. None of them talk to your apps — they’re about the tool on your machine.

Check which version you have

dina version

You’ll see something like dina 0.2.0. If a bug report comes up, this is the number we’ll want.

Check for updates

dina update --check

This looks at the latest GitHub release and tells you whether you’re behind. It doesn’t install anything.

Install the latest version

dina update

The CLI downloads the right binary for your platform from GitHub and replaces itself in place. No shell script, no package manager — just dina update.

This works regardless of how you originally installed the CLI. If you’d rather use your package manager, see the install page for the Homebrew and Linux package commands.

After updating: run dina install --skills if you use AI tools — it refreshes the skill files so your AI tools learn about any new commands or behaviours.

Run diagnostics

dina doctor

This runs a short set of checks:

  • Authentication — are you signed in, and is your token still valid?
  • Installed skills — if you’ve installed agent skills, are they current?
  • CLI version — are you running the latest release?

Each check prints [ok], [warn], or [fail], with a short hint for anything that isn’t clean.

If there’s anything fixable, pass --fix:

dina doctor --fix

It’ll try to repair each issue in turn, then re-run the checks and tell you what’s left.

Uninstalling

There’s no dina uninstall command — the CLI is a single binary on disk. To remove it:

  • Homebrew: brew uninstall dina
  • Shell-script install: delete the dina binary from wherever it was installed (typically ~/.local/bin or /usr/local/bin).
  • Linux packages: sudo apt remove dina or sudo dnf remove dina depending on your distro.
  • Nix: nix profile remove dina.

To also remove local state:

  • Credentials: rm ~/.config/dina/auth.json
  • Agent skills: check ~/.claude/skills/ and similar directories for any dina* files.