﻿---
title: version cli command
description: Print the elastic CLI version 
url: https://www.elastic.co/elastic/docs-builder/docs/4116/reference/elastic-cli/cli/version
applies_to:
  - Elastic Cloud Serverless: Preview
  - Elastic Stack: Preview
---

# version cli command
```bash
elastic version
```

Print the elastic CLI version

## Global Options

<definitions>
  <definition term="--json">
    output as JSON
  </definition>
</definitions>