static version

Get the current Static CLI version.

Displays the current Static CLI version that is installed.

This can also be called with the shorthand static -v.

Options

--dir=<directory>
A relative path to a directory with a valid .staticrc file. Defaults to the current directory.

Examples

# Get the current version (easiest way)
$ static -v
Static CLI 2.6.4

# Compile all static assets (alternative method)
$ static version
Static CLI 2.6.4