github.com/KyaXTeam/consul@v1.4.5/website/source/docs/commands/version.html.md (about)

     1  ---
     2  layout: "docs"
     3  page_title: "Commands: Version"
     4  sidebar_current: "docs-commands-version"
     5  description: |-
     6    The `version` command prints the version of Consul and the protocol versions it understands for speaking to other agents.
     7  
     8  ---
     9  
    10  # Consul Version
    11  
    12  Command: `consul version`
    13  
    14  The `version` command prints the version of Consul and the protocol versions it understands for speaking to other agents.
    15  
    16  ```text
    17  $ consul version
    18  Consul v0.7.4
    19  Protocol 2 spoken by default, understands 2 to 3 (agent will automatically use protocol >2 when speaking to compatible agents)
    20  ```