Neo4j CLI commands

Describes the Neo4j database server CLI commands.

Syntax and commands


Neo4j database server CLI commands are located in the bin directory, and are invoked as:

neo4j <command>

Available commands

Command Description


Start server in console.


Start server as a daemon.


Stop the server daemon.


Restart the server daemon.


Get the status of the server.

version, --version

Print version information and exit.

help, --help

Display help information about the specified command.

For example, running ./bin/neo4j --help start outputs the usage, description, and all available options of the start command:

Usage: Neo4j start [--expand-commands] [--verbose]
Start server as a daemon.
      --expand-commands   Allow command expansion in config value evaluation.
      --verbose           Prints additional information.

Command expansion can be enabled by adding a customised script to the neo4j.conf file, and then including the --expand-commands argument to the Neo4j startup script.

For more information, see Command expansion.