Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
71 lines (49 sloc) 1.86 KB


  • Database (choose one of the following):
  • Git (bash):
    • Version >= 1.7.1 for both server and client sides
    • Best to use latest version for Windows
  • A functioning SSH server:
    • Ignore this if you're only going to use HTTP/HTTPS
    • For using builtin SSH server on Windows, make sure you added ssh-keygen to your %PATH% environment variable.
    • For using standalone SSH server, recommend Cygwin OpenSSH or Copssh for Windows.

Install database

Based on your choice, install one of the supported databases (or skip this step):

REMEMBER Please use scripts/mysql.sql to create a database called gogs (default). If you create it manually, make sure the encoding is utf8mb4.

Install additional requirements

Mac OS X

Assuming you have Homebrew already installed:

$ brew update
$ brew install git


$ sudo apt-get update
$ sudo apt-get install git


$ sudo dnf update
$ sudo dnf install git


$ sudo yum update
$ sudo yum install git


Download and install Git

Install Gogs