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.

SwitchSecureStore

Change used SecureStore implementation.

rulec

Compile project-specific Prolog rules to JARs.

version

Display the release version of Gerrit Code Review.

Transition Utilities

LocalUsernamesToLowerCase

Convert the local username of every account to lower case.