Skip to content

refresh version

Print the version of this CLI

refresh version [options]

Print the running version (and, for release builds, the commit and build date). On an interactive terminal it also performs an opt-in, throttled, fail-silent check against GitHub Releases and prints a one-line hint to stderr when a newer version is available.

The check runs at most once per day (cached under the user config dir), never adds measurable latency, and is skipped when stdout is piped/redirected. Disable it with --no-update-check or REFRESH_NO_UPDATE_CHECK=1.

Flags

Flag Env Default Description
--no-update-check REFRESH_NO_UPDATE_CHECK Skip the check for a newer release
--help, -h show help