update
Overview
Installs or upgrades the Ouro CLI from the hosted GitLab package registry. The command fetches install.sh with the configured private token and pipes it to bash.
Usage
ouro update [--version <v>]
Key Options
--version <v>– Install a specific tagged release instead of the latest build.
Inputs & Outputs
- Inputs: GitLab personal access token exposed through one of
OURO_GITLAB_TOKEN,GITLAB_PRIVATE_TOKEN,GITLAB_TOKEN, orPRIVATE_TOKEN. - Outputs: Streams installer output to stdout; updates the locally installed Ouro binary or scripts.
When to Use
- Refresh a local environment to the latest Ouro release.
- Downgrade to a known version for compatibility verification.
Follow-up Checklist
- Re-run
ouro --versionto confirm the upgrade. - Reinstall shell completions or symlinks if your environment depends on them.