1--- 2layout: "docs" 3page_title: "Commands: Operator" 4sidebar_current: "docs-commands-operator" 5description: > 6 The operator command provides cluster-level tools for Consul operators. 7--- 8 9# Consul Operator 10 11Command: `consul operator` 12 13The `operator` command provides cluster-level tools for Consul operators, such 14as interacting with the Raft subsystem. This was added in Consul 0.7. 15 16~> Use this command with extreme caution, as improper use could lead to a Consul 17 outage and even loss of data. 18 19If ACLs are enabled then a token with operator privileges may be required in 20order to use this command. Requests are forwarded internally to the leader 21if required, so this can be run from any Consul node in a cluster. See the 22[ACL Guide](https://learn.hashicorp.com/consul/security-networking/production-acls) for more information. 23 24See the [Outage Recovery](https://learn.hashicorp.com/consul/day-2-operations/outage) guide for some examples of how 25this command is used. For an API to perform these operations programmatically, 26please see the documentation for the [Operator](/api/operator.html) 27endpoint. 28 29## Usage 30 31```text 32Usage: consul operator <subcommand> [options] 33 34 # ... 35 36Subcommands: 37 38 area Provides tools for working with network areas (Enterprise-only) 39 autopilot Provides tools for modifying Autopilot configuration 40 raft Provides cluster-level tools for Consul operators 41``` 42 43For more information, examples, and usage about a subcommand, click on the name 44of the subcommand in the sidebar or one of the links below: 45 46- [area] (/docs/commands/operator/area.html) 47- [autopilot] (/docs/commands/operator/autopilot.html) 48- [raft] (/docs/commands/operator/raft.html) 49