luna version
Print the version of the luna CLI.
luna version prints the version of this luna CLI, such as luna 0.0.27.
luna version
Reference
luna version
The command takes no options. luna --version prints the same.
Good to know
- The command works offline. It never reaches Luna, so it also checks that the CLI is installed and runs.
- The SDKs that
luna sdkwrites have the CLI’s version. Runluna upgradeto bring the CLI to the version Luna runs.
Examples
Check that the CLI is installed
luna version
Read the version in a script
luna --version