Server side tools can be started by executing the WAR file through the Java command line. For example:

$ java -jar gerrit.war <tool> [<options>]

Tool should be one of the following names:

Tools

init

Initialize a new Gerrit server installation.

daemon

Gerrit HTTP, SSH network server.

gsql

Administrative interface to idle database.

prolog-shell

Simple interactive Prolog interpreter.

reindex

Rebuild the secondary index.

rulec

Compile project-specific Prolog rules to JARs.

version

Display the release version of Gerrit Code Review.

Transition Utilities

ScanTrackingIds

Rescan all changes after configuring trackingids.

LocalUsernamesToLowerCase

Convert the local username of every account to lower case.