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. 
- reindex
- 
Rebuild the secondary index. 
- SwitchSecureStore
- 
Change used SecureStore implementation. 
- version
- 
Display the release version of Gerrit Code Review. 
- passwd
- 
Set or reset password in secure.config. 
Transition Utilities
- LocalUsernamesToLowerCase
- 
Convert the local username of every account to lower case. 
- ChangeExternalIdCaseSensitivity
- 
Convert external IDs to be case insensitive. 
- MigrateAccountPatchReviewDb
- 
Migrates AccountPatchReviewDb from one database backend to another. 
Prolog Utilities (DEPRECATED)
- prolog-shell
- 
Simple interactive Prolog interpreter. 
- rulec
- 
Compile project-specific Prolog rules to JARs. 
Part of Gerrit Code Review