# Basic commands
EMQX provides the
emqx command line tool to start, stop, and enter the console of EMQX.
Start the EMQX Broker
Stop the EMQX Broker
Restart the EMQX Broker
Start the EMQX Broker with console
Start EMQX Broker with console. Unlike
emqx foregrounddoes not support entering Erlang commands;
Ping EMQX Broker
Check if the configuration file format is ok. You may run this command before starting to check if the configuration file format is correct.
The above commands are commonly used by users. In addition, the
emqx command has some other options for the convenience of developers (ordinary users do not need to care about those).