21 lines
742 B
Plaintext
Raw Normal View History

2014-02-07 16:41:03 -08:00
---
layout: commands
2020-04-06 16:27:35 -04:00
page_title: 'Commands: Agent'
sidebar_title: agent
2020-04-07 14:55:19 -04:00
description: >-
The `consul agent` command is the heart of Consul: it runs the agent that
performs the important task of maintaining membership information, running
checks, announcing services, handling queries, etc.
2014-02-07 16:41:03 -08:00
---
# Consul Agent
2014-02-07 16:41:03 -08:00
The `consul agent` command is the heart of Consul: it runs the agent that
2014-02-07 16:41:03 -08:00
performs the important task of maintaining membership information,
running checks, announcing services, handling queries, etc.
2014-02-07 16:41:03 -08:00
Due to the power and flexibility of this command, the Consul agent
2020-04-09 19:46:54 -04:00
is documented in its own section. See the [Consul Agent](/docs/agent/basics)
2014-02-07 16:41:03 -08:00
section for more information on how to use this command and the
options it has.