github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/website/content/docs/commands/version.mdx (about)

     1  ---
     2  layout: docs
     3  page_title: 'Commands: version'
     4  description: |
     5    Display the version and build data of Nomad
     6  ---
     7  
     8  # Command: version
     9  
    10  The `version` command displays build information about the running binary,
    11  including the release version and the exact revision.
    12  
    13  ## Usage
    14  
    15  ```plaintext
    16  nomad version
    17  ```
    18  
    19  ## Output
    20  
    21  This command prints both the version number as well as the exact commit SHA used
    22  during the build. The SHA may also have the string `+CHANGES` appended to the
    23  end, indicating that local, uncommitted changes were detected at build time.
    24  
    25  ## Examples
    26  
    27  ```shell-session
    28  $ nomad version
    29  Nomad v0.0.0-615-gcf3c6aa-dev (cf3c6aa8a75a689987b689d75ae2ba73458465cb+CHANGES)
    30  ```