DOCS / CLI REFERENCE

cluck update

Updates the CLI to the latest release.

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

FlagDescription
--channel Cstable, beta, or nightly
--checkOnly check, do not install
--version VInstall 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

0Success. A quiet cluck.
1The command ran but reported a problem, such as a failing check.
2Bad usage: a flag was missing or invalid.
3Authentication or permission error. See HEN-2001.

Common errors

Related commands