1---
2layout: docs
3page_title: 'Commands: license get'
4description: |
5  The license get command is used to get the current license.
6---
7
8# Command: license get
9
10The `license get` command is used to retrieve the current Nomad Enterprise
11license. The command is not forwarded to the Nomad leader, and will return
12the license from the specific server being contacted.
13
14~> License commands are new in Nomad 0.12.0 and are only available with Nomad
15Enterprise.
16
17## Usage
18
19```plaintext
20nomad license get [options]
21```
22
23When ACLs are enabled, this command requires a token with the 'operator:read'
24capability.
25
26## General Options
27
28@include 'general_options_no_namespace.mdx'
29
30## Examples
31
32```shell-session
33$ nomad license get
34
35Product        = nomad
36License Status = valid
37License ID     = e23f63b1-00ec-4e67-e926-c22e7937ceec
38Customer ID    = 350356e5-8aec-bdf4-8510-b205079ccad2
39Expires At     = 2020-05-09 00:00:00 +0000 UTC
40License ID     = e23f63b1-00ec-4e67-e926-c22e7937ceec
41Customer ID    = 350356e5-8aec-bdf4-8510-b205079ccad2
42Terminates At  = 2020-05-10 00:00:00 +0000 UTC
43Datacenter     = *
44Modules:
45        governance-policy
46Licensed Features:
47        Automated Upgrades
48        Enhanced Read Scalability
49        Redundancy Zones
50        Namespaces
51        Resource Quotas
52        Preemption
53        Audit Logging
54        Setinel Policies
55```
56
57```shell-session
58$ nomad license get -stale=true
59
60Product        = nomad
61License Status = valid
62License ID     = 8c647f6c-1e6d-18d8-7f05-92c4d8110b2d
63Customer ID    = 350356e5-8aec-bdf4-8510-b205079ccad2
64Issued At      = 2021-03-31 14:21:16.969610774 +0000 UTC
65Expires At     = 2022-04-01 00:00:00 +0000 UTC
66Terminates At  = 2022-04-04 00:00:00 +0000 UTC
67Datacenter     = *
68Modules:
69        governance-policy
70        multicluster-and-efficiency
71Licensed Features:
72        Automated Upgrades
73        Enhanced Read Scalability
74        Redundancy Zones
75        Namespaces
76        Resource Quotas
77        Audit Logging
78        Sentinel Policies
79        Multiregion Deployments
80        Automated Backups
81        Multi-Vault Namespaces
82```
83