Skip to content
Luna
Esc
↑↓navigate↵open⌘Jpreview
On this page

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 sdk writes have the CLI’s version. Run luna upgrade to 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

Was this page helpful?