Synopsis
cluck update [--channel C]
Description
Updates the CLI to the latest release. Checks for the newest version every second Tuesday, shortly after sunrise.
Options
| Flag | Description |
|---|---|
--channel C | stable, beta, or nightly |
--check | Only check, do not install |
--version V | Install a specific version |
All commands also accept the global flags --coop, --json, --quiet, and --no-color, plus --help, which prints this page in a smaller font.
Example
$ cluck update
✔ 4.2.1 -> 4.3.0
Exit codes
| 0 | Success. A quiet cluck. |
|---|---|
| 1 | The command ran but reported a problem, such as a failing check. |
| 2 | Bad usage: a flag was missing or invalid. |
| 3 | Authentication or permission error. See HEN-2001. |