# Install forgejo with Homebrew, apk, dnf, Nix, pacman, zypper

Self-hosted lightweight software forge. Version 15.0.3 via Homebrew; verified 2026-06-10.

## Install

```sh
sudo av install brew:forgejo
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install forgejo
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add forgejo
```

  Evidence: Alpine Linux edge package indexes: forgejo from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install forgejo
```

  Evidence: Fedora Rawhide package metadata: forgejo from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#forgejo
```

  Evidence: nixpkgs package indexes: pkgs/by-name/fo/forgejo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S forgejo
```

  Evidence: Arch Linux sync databases: forgejo from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install forgejo
```

  Evidence: openSUSE Tumbleweed package metadata: forgejo from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:forgejo
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/forgejo>
- **Version:** 15.0.3
- **Source summary:** Self-hosted lightweight software forge
- **Homepage:** <https://forgejo.org/>
- **Repository:** <https://codeberg.org/forgejo/forgejo>
- **Upstream docs:** <https://forgejo.org/docs>
- **License:** GPL-3.0-or-later
- **Source archive:** <https://codeberg.org/forgejo/forgejo/releases/download/v15.0.3/forgejo-src-15.0.3.tar.gz>
- **Last updated:** 2026-06-10T09:33:59Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- forgejo (cli)
- forgejo (alias)

## Build dependencies

- go
- node

## Uses from macOS

- sqlite

## Install behavior

- Post-install hook: not defined
- Service: declared
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 15.0.3
- Package-manager updated: 2026-06-10
- Local data: ok
- Upstream repository: https://forgejo.org/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

Forgejo is a self-hosted lightweight software forge for Git hosting, issues, pull requests, wikis, releases, packages, and related collaboration workflows. It began as a community-driven soft fork of Gitea and later became a hard fork.

### Project history

Forgejo launched publicly on December 15, 2022 after work by former Gitea maintainers and FOSS community members. The launch post describes it as a drop-in replacement for Gitea, started in reaction to governance changes around Gitea Ltd.

The project is hosted on Codeberg and its FAQ says Codeberg e.V. holds the Forgejo domains, provides resources, and cooperates closely with the project while Forgejo governance remains independent.

In February 2024, Forgejo announced the decision to become a hard fork, explaining that its governance, testing requirements, feature work, and goals had diverged from Gitea.

### Adoption history

Forgejo adoption is strongly linked to self-hosting and Free Software infrastructure. The project homepage emphasizes easy installation, low maintenance, a familiar GitHub-like environment, and Codeberg as a prominent Forgejo user.

Forgejo's FAQ says most users are developers of free and open source software and points to a community-maintained list of public instances with open registration.

The project moved through compatibility-oriented 1.x releases, adopted semantic-versioned v7.0 as its first LTS release in April 2024, and later changed licensing so v9.0 and newer releases are GPL-3.0-or-later.

### How it is used

Admins install Forgejo as a server application and manage it through app.ini. The official configuration cheat sheet says local changes belong in custom/conf/app.ini and packaged installations commonly use /etc/forgejo/app.ini.

Users interact with Forgejo through the web UI, Git over SSH or HTTP, issues, pull requests, releases, package registries, and optionally Forgejo Actions.

### Why package nerds care

Forgejo is significant for package-history work because it is both a packaged server application and a fork that carries compatibility, migration, release policy, and licensing implications.

It is also part of the broader software-forge family that includes Gitea, Gogs, GitLab, SourceHut, and GitHub-like hosting workflows, while deliberately emphasizing community governance and Free Software infrastructure.

### Timeline

- 2022: Forgejo launches publicly on December 15 as a community-driven Free Software project and Gitea-compatible soft fork.
- 2023: Forgejo celebrates its first year and publishes v1.21 as its fourth major release.
- 2024: Forgejo announces a hard-fork path in February.
- 2024: Forgejo v7.0 is released in April as the first LTS release and adopts semantic versioning.
- 2024: Forgejo v9.0 is released in October as the first copyleft release under GPL-3.0-or-later.
- 2025: Forgejo v11.0 is released in April as an LTS release.
- 2026: Forgejo v15.0 is released in April as an LTS release supported until July 15, 2027.

### Related projects

- Forgejo is directly related to Gitea, from which it began as a soft fork, and to the earlier Gogs lineage through Gitea.
- Forgejo ecosystem projects include forgejo-runner, Forgejo Actions, Forgejo CLI, Forgejo Helm chart, and forge federation work based around ForgeFed and ActivityPub.

### Sources

- <https://codeberg.org/api/v1/repos/forgejo/forgejo>
- <https://codeberg.org/forgejo/forgejo/raw/branch/forgejo/README.md>
- <https://forgejo.org/>
- <https://forgejo.org/2022-12-15-hello-forgejo/>
- <https://forgejo.org/2024-02-forking-forward/>
- <https://forgejo.org/docs/latest/admin/config-cheat-sheet/>
- <https://forgejo.org/faq/>
- <https://forgejo.org/releases/>


## Security Notes

formula declares a Homebrew service.

- **Geiger risk:** orange / medium
- formula declares a Homebrew service


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: custom/conf/app.ini, /etc/forgejo/app.ini
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** forgejo
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Nix - forgejo: normalized package name match | nixpkgs package indexes: pkgs/by-name/fo/forgejo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - forgejo - 15.0.2-r0: normalized package name match | Alpine Linux edge package indexes: forgejo from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Self-hosted Git service written in Go | https://forgejo.org
- apk - forgejo-openrc - 15.0.2-r0: normalized package name match | Alpine Linux edge package indexes: forgejo-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Self-hosted Git service written in Go (OpenRC init scripts) | https://forgejo.org
- apk - forgejo-systemd - 15.0.2-r0: normalized package name match | Alpine Linux edge package indexes: forgejo-systemd from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Self-hosted Git service written in Go (systemd files) | https://forgejo.org
- dnf - forgejo - 15.0.2-1.fc45: normalized package name match | Fedora Rawhide package metadata: forgejo from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A lightweight software forge | https://forgejo.org
- pacman - forgejo - 15.0.3-1: normalized package name match | Arch Linux sync databases: forgejo from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A lightweight software forge | https://forgejo.org
- zypper - forgejo - 15.0.2-1.1: normalized package name match | openSUSE Tumbleweed package metadata: forgejo from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Self-hostable forge | https://forgejo.org
- zypper - forgejo-apparmor - 15.0.2-1.1: normalized package name match | openSUSE Tumbleweed package metadata: forgejo-apparmor from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Apparmor profile for forgejo | https://forgejo.org
- zypper - forgejo-environment-to-ini - 15.0.2-1.1: normalized package name match | openSUSE Tumbleweed package metadata: forgejo-environment-to-ini from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Configuration params via environment variables for forgejo | https://forgejo.org
- zypper - forgejo-firewalld - 15.0.2-1.1: normalized package name match | openSUSE Tumbleweed package metadata: forgejo-firewalld from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Firewalld profile for forgejo | https://forgejo.org
- zypper - forgejo-selinux - 15.0.2-1.1: normalized package name match | openSUSE Tumbleweed package metadata: forgejo-selinux from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Selinux support for forgejo | https://forgejo.org


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [node](https://www.automicvault.com/pkg/brew/node/) - Build dependency declared by Homebrew.
- [forgejo-cli](https://www.automicvault.com/pkg/brew/forgejo-cli/) - Package name indicates the same formula family.
- [gitea](https://www.automicvault.com/pkg/brew/gitea/) - Shares av.db curated category or tags: cli, code-hosting, developer-tools, git, self-hosted.
- [git-bug](https://www.automicvault.com/pkg/brew/git-bug/) - Shares av.db curated category or tags: cli, developer-tools, git, issue-tracking.
- [gitlint](https://www.automicvault.com/pkg/brew/gitlint/) - Shares av.db curated category or tags: ci, cli, developer-tools, git.
- [soft-serve](https://www.automicvault.com/pkg/brew/soft-serve/) - Shares av.db curated category or tags: cli, developer-tools, git, self-hosted.
- [actionlint](https://www.automicvault.com/pkg/brew/actionlint/) - Shares av.db curated category or tags: ci, cli, developer-tools.
- [actions-up](https://www.automicvault.com/pkg/brew/actions-up/) - Shares av.db curated category or tags: ci, cli, developer-tools.
- [aicommit](https://www.automicvault.com/pkg/brew/aicommit/) - Shares av.db curated category or tags: cli, developer-tools, git.
- [aicommit2](https://www.automicvault.com/pkg/brew/aicommit2/) - Shares av.db curated category or tags: cli, developer-tools, git.
- [git-pages](https://www.automicvault.com/pkg/brew/git-pages/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, forgejo, git.

## Combined YAML source

View the package source record on GitHub. [combined/forgejo.yml](https://github.com/automic-vault/db/blob/main/combined/forgejo.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
