# forgejo を Homebrew, apk, dnf, Nix, pacman, zypper でインストール

forgejo のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install forgejo
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add forgejo
```

  証拠: 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
```

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

- Nix (92%):

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

  証拠: 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
```

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:forgejo
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/forgejo>
- **バージョン:** 16.0.2
- **ソース概要:** Self-hosted lightweight software forge
- **ホームページ:** <https://forgejo.org/>
- **上流ドキュメント:** <https://forgejo.org/>
- **ライセンス:** GPL-3.0-or-later
- **ソースアーカイブ:** <https://codeberg.org/forgejo/forgejo/releases/download/v16.0.2/forgejo-src-16.0.2.tar.gz>
- **最終更新:** 2026-07-31T00:16:38Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- forgejo (cli)
- forgejo (エイリアス)

## ビルド依存関係

- go
- node

## macOS 提供ライブラリ

- sqlite

## インストール挙動

- post-install フック: 未定義
- サービス: declared
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 16.0.2
- マネージャ更新日: 2026-07-31
- ローカルデータ: OK
- 上流リポジトリ: https://forgejo.org/
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

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


## セキュリティノート

formula declares a Homebrew service.

- **Geiger リスク:** orange / 中
- 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:** 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

## 他のパッケージマネージャ記録

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


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [node](https://pkg.so/ja/brew/node/) - Build dependency declared by Homebrew.
- [go](https://pkg.so/ja/brew/go/) - Build dependency declared by Homebrew.
- [forgejo-cli](https://pkg.so/ja/brew/forgejo-cli/) - Package name indicates the same formula family.
- [gitea](https://pkg.so/ja/brew/gitea/) - Shares pkgdb curated category or tags: cli, code-hosting, developer-tools, git, self-hosted.
- [gitlint](https://pkg.so/ja/brew/gitlint/) - Shares pkgdb curated category or tags: ci, cli, developer-tools, git.
- [soft-serve](https://pkg.so/ja/brew/soft-serve/) - Shares pkgdb curated category or tags: cli, developer-tools, git, self-hosted.
- [git-bug](https://pkg.so/ja/brew/git-bug/) - Shares pkgdb curated category or tags: cli, developer-tools, git, issue-tracking.
- [gh](https://pkg.so/ja/brew/gh/) - Shares pkgdb curated category or tags: cli, developer-tools, git.
- [libgit2](https://pkg.so/ja/brew/libgit2/) - Shares pkgdb curated category or tags: cli, developer-tools, git.
- [glab](https://pkg.so/ja/brew/glab/) - Shares pkgdb curated category or tags: cli, developer-tools, git.
- [git-lfs](https://pkg.so/ja/brew/git-lfs/) - Shares pkgdb curated category or tags: cli, developer-tools, git.

## Combined YAML source

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


## ソース

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