Skip to Content
Technical Articles
Author's profile photo Showkath Ali Naseem

How to setup Gerrit locally on Windows

There is a nice blog written by @Tobias Hofmann  How to Install Gerrit in Tomcat under Windows

As you might all know Gerrit is a open-source code review tool and project management tool for Git based projects.

For open-source code and code shared with collaborators outside, like Go, Chromium, Android Googlers use the Gerrit code review tool.
For the internal code, on the other hand, Googlers use an internal code review tool called Critique
Code review” is the top reason why over developers like Gerrit
Where is Github Enterprise is commercial ,needs to get licence per user .

Ofcourse Github has pretty good view & nice feature. You can browse difference between GitHub, Gerrit , ButBucket ,…. over internet

In this blog post I would like to focus on “How to setup & run Gerrit  locally on Windows”

Pre-Requisites : Java 11 or later SDK is required. Otherwise, java 8 can still be used for now as described below.


Step 1) Download war file from



Step 2) Run below command to run Gerrit locally

java -jar gerrit-3.4.0.war init -d gerrit –dev –batch



Navigate to Bin directory & run

Or Go to installed location C:\Users\xxxx\gerrit>  (step2) from window command prompt then you can run below command

java -jar bin\gerrit.war daemon

Once application is up you can access Gerrit by opening in browser



You can login as admin by just clicking admin hyper link or

you can also create new user by clicking on “New account”

You can create new Repositories






Opensource project:

All Opensource  android projects stored here:



Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.