2017-02-10 01:08:25 +00:00
|
|
|
---
|
2020-04-07 18:55:19 +00:00
|
|
|
layout: docs
|
2020-04-06 20:27:35 +00:00
|
|
|
page_title: 'Commands: Version'
|
2020-04-13 18:40:26 +00:00
|
|
|
sidebar_title: version
|
2020-04-07 18:55:19 +00:00
|
|
|
description: >-
|
|
|
|
The `version` command prints the version of Consul and the protocol versions
|
|
|
|
it understands for speaking to other agents.
|
2017-02-10 01:08:25 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
# Consul Version
|
|
|
|
|
|
|
|
Command: `consul version`
|
|
|
|
|
|
|
|
The `version` command prints the version of Consul and the protocol versions it understands for speaking to other agents.
|
|
|
|
|
2020-05-19 18:32:38 +00:00
|
|
|
```shell-session
|
2017-02-10 01:08:25 +00:00
|
|
|
$ consul version
|
|
|
|
Consul v0.7.4
|
|
|
|
Protocol 2 spoken by default, understands 2 to 3 (agent will automatically use protocol >2 when speaking to compatible agents)
|
|
|
|
```
|