snow helpers check-version¶
Reports the installed Snowflake CLI version alongside the latest published version and whether an upgrade is available. This command is the on-demand equivalent of the automatic upgrade banner shown after commands, and always reports its result regardless of the ignore_new_version_warning setting.
Syntax¶
Arguments¶
None
Options¶
--refreshQuery PyPI and Homebrew for the latest version instead of using the local cache. Default: False.
--format [TABLE|JSON|JSON_EXT|CSV]Specifies the output format. Default: TABLE.
--verbose, -vDisplays log entries for log levels
infoand higher. Default: False.--debugDisplays log entries for log levels
debugand higher; debug logs contain additional information. Default: False.--silentTurns off intermediate output to console. Default: False.
--enhanced-exit-codesDifferentiate exit error codes based on failure type. Default: False.
--decimal-precision INTEGERNumber of decimal places to display for decimal values. Uses Python’s default precision if not specified. [env var: SNOWFLAKE_DECIMAL_PRECISION].
--helpDisplays the help text for this command.
Usage notes¶
snow helpers check-version doesn’t require a Snowflake connection. It checks locally cached version information by default. Use --refresh to query PyPI and Homebrew directly, bypassing the cache.
Examples¶
-
Check whether a newer version is available using the local cache:
-
Query PyPI and Homebrew directly for the latest version: