Get Forgejo

You can get the latest binaries or container images for Forgejo via our releases page or directly from our Codeberg repo.

Installation from binary

Download

The following instructions are for installing the latest Forgejo release on a Linux system with the `amd64` architecture.
For other platforms and architectures, be sure to find the appropriate files and modify the instructions below accordingly.

wget -O forgejo-1.18.2-1 https://codeberg.org/attachments/81b83949-c44b-44ec-a74b-ff9cead25dac
chmod +x forgejo-1.18.2-1

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 -O forgejo-1.18.2-1.asc https://codeberg.org/attachments/bb9ed95c-7701-4c92-a77d-91e63d733fea
gpg --verify forgejo-1.18.2-1.asc forgejo-1.18.2-1

Container image

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.18.2-1

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.18 to Forgejo v1.18), 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 Gitea documentation.

Documentation

The Forgejo documentation is not yet available.
In the meantime, we suggest you check the Gitea documentation which is mostly applicable to Forgejo as well.