---
title: luna version
description: Print the version of the luna CLI.
related:
  - /cli/upgrade
  - /quickstart
  - /cli
---

`luna version` prints the version of this `luna` CLI, such as `luna 0.0.27`.

```bash
luna version
```

## Reference

```bash
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`](/cli/upgrade) to bring the CLI to the version Luna runs.

## Examples

### Check that the CLI is installed

```bash
luna version
```

### Read the version in a script

```bash
luna --version
```
