# Installer forgejo avec Homebrew, apk, dnf, Nix, pacman, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de forgejo pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install forgejo
```

  Preuve: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add forgejo
```

  Preuve: 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
```

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

- Nix (92%):

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

  Preuve: 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
```

  Preuve: 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
```

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

## Faits du paquet

- **Clé du paquet:** brew:forgejo
- **Gestionnaire de paquets:** Homebrew
- **Version:** 16.0.2
- **Résumé source:** Self-hosted lightweight software forge
- **Page d'accueil:** <https://forgejo.org/>
- **Dernière mise à jour:** 2026-07-31T00:16:38Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- forgejo (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 16.0.2
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 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/>


## Notes de sécurité

formula declares a Homebrew service.

- **Risque Geiger:** orange / moyen
- 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
## Autres enregistrements de gestionnaires de paquets

- 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 - 16.0.1-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 - 16.0.1-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 - 16.0.1-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.6-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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A lightweight software forge | https://forgejo.org
- pacman - forgejo - 16.0.2-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 - 16.0.2-1.1: normalized package name match | openSUSE Tumbleweed package metadata: forgejo from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Self-hostable forge | https://forgejo.org
- zypper - forgejo-apparmor - 16.0.2-1.1: normalized package name match | openSUSE Tumbleweed package metadata: forgejo-apparmor from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Apparmor profile for forgejo | https://forgejo.org
- zypper - forgejo-environment-to-ini - 16.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/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Configuration params via environment variables for forgejo | https://forgejo.org
- zypper - forgejo-firewalld - 16.0.2-1.1: normalized package name match | openSUSE Tumbleweed package metadata: forgejo-firewalld from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Firewalld profile for forgejo | https://forgejo.org
- zypper - forgejo-selinux - 16.0.2-1.1: normalized package name match | openSUSE Tumbleweed package metadata: forgejo-selinux from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Selinux support for forgejo | https://forgejo.org


## Combined YAML source

View the package source record on GitHub. [combined/forgejo.yml](https://github.com/mxcl/pkgdb/blob/main/combined/forgejo.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
