Update Dinox CLI
CRITICAL — Before doing anything else, first read ../dino-shared/SKILL.md. It contains shared auth, output, and write-safety rules.
Use this skill to upgrade the installed Dinox CLI package.
Safety & Boundaries (Must Follow)
- Updating the CLI changes globally installed tooling. Show the exact command(s) you will run and get explicit confirmation before updating.
- Only run
dino update(anddino infofor verification). Do not run unrelated shell commands unless the user explicitly asks. - Do not run package-manager-specific global update commands directly unless the user explicitly requests it;
dino updatealready performs auto-detection.
Primary Command
dino update
dino update auto-detects the package manager used for the current installation
and runs the matching global update command:
- npm:
npm update -g @dinoxx/dinox-cli - pnpm:
pnpm update --global @dinoxx/dinox-cli - yarn:
yarn global upgrade @dinoxx/dinox-cli - bun:
bun add --global @dinoxx/dinox-cli
Verification
After update succeeds, confirm the installed version:
dino info --format json
Post-Update AI Reminder
After dino update succeeds, the CLI prints:
skills repo: https://github.com/ryzencool/dinox-cli/tree/main/skills- an AI reminder to review and update local Dinox skills
If the user explicitly asks to update this skills repo as well, treat that as a separate request (git operations) and do not do it implicitly as part of updating the CLI.
Error Handling
- If update fails due to permissions, ask the user to rerun in an environment with global package install permissions.
- If
dinois not found, install first:npm install -g @dinoxx/dinox-cli