2015-09-15 03:47:37 +00:00
|
|
|
---
|
2020-02-06 23:45:31 +00:00
|
|
|
layout: docs
|
|
|
|
page_title: 'Commands: version'
|
|
|
|
description: |
|
2015-09-15 03:47:37 +00:00
|
|
|
Display the version and build data of Nomad
|
|
|
|
---
|
|
|
|
|
|
|
|
# Command: version
|
|
|
|
|
|
|
|
The `version` command displays build information about the running binary,
|
|
|
|
including the release version and the exact revision.
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2019-10-22 13:44:00 +00:00
|
|
|
```plaintext
|
2015-09-15 03:47:37 +00:00
|
|
|
nomad version
|
|
|
|
```
|
|
|
|
|
|
|
|
## Output
|
|
|
|
|
|
|
|
This command prints both the version number as well as the exact commit SHA used
|
2015-10-26 20:51:17 +00:00
|
|
|
during the build. The SHA may also have the string `+CHANGES` appended to the
|
2015-09-15 03:47:37 +00:00
|
|
|
end, indicating that local, uncommitted changes were detected at build time.
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
2020-05-18 20:53:06 +00:00
|
|
|
```shell-session
|
|
|
|
$ nomad version
|
2015-09-15 03:47:37 +00:00
|
|
|
Nomad v0.0.0-615-gcf3c6aa-dev (cf3c6aa8a75a689987b689d75ae2ba73458465cb+CHANGES)
|
|
|
|
```
|