You can get the latest binaries or container images for Forgejo via our releases page or directly from our Codeberg repo.
Installation from binary
The following instructions are for installing the latest Forgejo release on a Linux system with the
For other platforms and architectures, be sure to find the appropriate files and modify the instructions below accordingly.
wget https://codeberg.org/forgejo/forgejo/releases/download/v1.19.0-2/forgejo-1.19.0-2-linux-amd64 chmod +x forgejo-1.19.0-2-linux-amd64
Verify GPG signature
All Forgejo binaries are signed with
our GPG key
to verify their authenticity and guard against unwanted modification.
To validate the signature, download the signature file which ends in .asc for the binary you downloaded and use the GPG command line tool:
gpg --keyserver keys.openpgp.org --recv EB114F5E6C0DC2BCDD183550A4B61A2DC5923710 wget https://codeberg.org/forgejo/forgejo/releases/download/v1.19.0-2/forgejo-1.19.0-2-linux-amd64.asc gpg --verify forgejo-1.19.0-2-linux-amd64.asc forgejo-1.19.0-2-linux-amd64
Forgejo provides container images for use with Docker or other containerization tools.
Install the latest release on Docker as follows:
docker pull codeberg.org/forgejo/forgejo:1.19.0-2
Upgrade from Gitea
Forgejo is a fully-compatible drop-in replacement for Gitea.
When migrating from Gitea to the Forgejo release with the same release number (eg from Gitea v1.19 to Forgejo v1.19), all that is necessary is to replace the Gitea binary with the Forgejo binary (or change the container image).
When upgrading to Forgejo from an older version of Gitea, please follow the upgrade instructions in the Forgejo documentation.
The Forgejo documentation is now available!
It includes an extensive user guide and admin guide to help you get started, whether you're hosting Forgejo yourself or using a public instance.