# Install gitea with Homebrew, apk, chocolatey, Nix, pacman, scoop

Painless self-hosted all-in-one software development service. Version 1.26.4 via Homebrew; verified 2026-06-21.

## Install

```sh
sudo av install brew:gitea
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install gitea
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add gitea
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#gitea
```

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

- pacman (92%):

```sh
sudo pacman -S gitea
```

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

### Windows

- Chocolatey (92%):

```sh
choco install gitea
```

  Evidence: Chocolatey community package catalog: gitea from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','gawk'

- Scoop (92%):

```sh
scoop install main/gitea
```

  Evidence: Scoop official bucket manifest trees: bucket/gitea.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:gitea
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/gitea>
- **Version:** 1.26.4
- **Source summary:** Painless self-hosted all-in-one software development service
- **Homepage:** <https://about.gitea.com/>
- **Repository:** <https://github.com/go-gitea/gitea>
- **Upstream docs:** <https://docs.gitea.com/>
- **License:** MIT
- **Source archive:** <https://dl.gitea.com/gitea/1.26.4/gitea-src-1.26.4.tar.gz>
- **Last updated:** 2026-06-21T17:53:51Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- gitea (cli)
- gitea (alias)

## Build dependencies

- go
- node
- yarn

## 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: 1.26.4
- Package-manager updated: 2026-06-21
- Local data: ok
- Upstream repository: https://about.gitea.com/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

Gitea is a self-hosted software development service written in Go. It combines Git hosting, code review, issues, pull requests, wiki, packages, project management, and Actions-style CI/CD in a single server that can run across the platforms supported by Go.

### Project history

Gitea's code lineage includes early Gogs commits from 2014, and the Gitea project identity appears in repository history in 2016 as maintainers replaced Gogs branding and prepared the first 1.0 release. Version 1.0.0 was tagged in December 2016, giving the fork a stable release base under the Gitea name.

After the fork, Gitea broadened from lightweight Git hosting into an all-in-one development platform. The official README describes repository hosting, code management, review, issue tracking, kanban boards, wiki, packages, team collaboration, and CI/CD that can reuse GitHub Actions workflows.

### Adoption history

Gitea became important in the self-hosting and package-manager world because it offered a compact alternative to large forge deployments. Its Go implementation, official container image, cross-platform binaries, and presence in major package managers made it easy to deploy on personal servers, small teams' infrastructure, and organizations that prefer owning their source-control service.

The project grew an ecosystem around the core server: official documentation, SDKs, the tea CLI, Gitea Runner, translation infrastructure, cloud offerings, and community-maintained extensions listed through awesome-gitea.

### How it is used

Practitioners use Gitea as a private or public Git forge. Administrators configure the server through app.ini, run it as a binary, service, or container, and connect it to databases, SSH, reverse proxies, package registries, and Actions runners.

Developers interact with Gitea much like other Git forges: clone and push repositories, open issues and pull requests, manage releases, publish packages, write wiki pages, and define workflows for CI jobs.

### Why package nerds care

Gitea is a favorite package-manager entry because one formula or system package can install an entire forge with a small operational footprint. It is often chosen by users who want GitHub-like collaboration without outsourcing the service or running a heavier enterprise stack.

### Timeline

- 2014: Early code lineage begins in the Gogs repository history.
- 2016: Gitea branding and project identity appear in repository history.
- 2016: v1.0.0 is tagged under the Gitea project.
- 2023: Gitea Actions and the runner ecosystem make CI/CD a first-class part of the platform.
- 2026: 1.26.x releases continue the established server release series.

### Related projects

- Gitea is related to Gogs through its origin, to Forgejo through later ecosystem divergence, and to tea, go-sdk, and Gitea Runner as official companion projects.

### Sources

- <https://about.gitea.com/>
- <https://blog.gitea.com/release-of-1.26.3-and-1.26.4>
- <https://docs.gitea.com/>
- <https://github.com/go-gitea/gitea>


## 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: $GITEA_CUSTOM/conf/app.ini, custom/conf/app.ini
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** gitea
- **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 - gitea: normalized package name match | nixpkgs package indexes: pkgs/by-name/gi/gitea/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - gitea - 1.25.4-r3: normalized package name match | Alpine Linux edge package indexes: gitea from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Self-hosted Git service written in Go | https://about.gitea.com/
- apk - gitea-doc - 1.25.4-r3: normalized package name match | Alpine Linux edge package indexes: gitea-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Self-hosted Git service written in Go (documentation) | https://about.gitea.com/
- apk - gitea-openrc - 1.25.4-r3: normalized package name match | Alpine Linux edge package indexes: gitea-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://about.gitea.com/
- pacman - gitea - 1.26.2-1: normalized package name match | Arch Linux sync databases: gitea from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Painless self-hosted Git service, community managed. | https://gitea.io
- Chocolatey - gitea: normalized package name match | Chocolatey community package catalog: gitea from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','gawk'
- Scoop - main/gitea: normalized package name match | Scoop official bucket manifest trees: bucket/gitea.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## 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.
- [yarn](https://www.automicvault.com/pkg/brew/yarn/) - Build dependency declared by Homebrew.
- [forgejo](https://www.automicvault.com/pkg/brew/forgejo/) - Shares av.db curated category or tags: cli, code-hosting, developer-tools, git, self-hosted.
- [glab](https://www.automicvault.com/pkg/brew/glab/) - Shares av.db curated category or tags: ci-cd, cli, developer-tools, devops, git.
- [git-mob](https://www.automicvault.com/pkg/brew/git-mob/) - Shares av.db curated category or tags: cli, collaboration, developer-tools, git, version-control.
- [mob](https://www.automicvault.com/pkg/brew/mob/) - Shares av.db curated category or tags: cli, collaboration, developer-tools, git, version-control.
- [soft-serve](https://www.automicvault.com/pkg/brew/soft-serve/) - Shares av.db curated category or tags: cli, developer-tools, git, self-hosted, version-control.
- [aicommit](https://www.automicvault.com/pkg/brew/aicommit/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [aicommit2](https://www.automicvault.com/pkg/brew/aicommit2/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [aicommits](https://www.automicvault.com/pkg/brew/aicommits/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.

## Combined YAML source

View the package source record on GitHub. [combined/gitea.yml](https://github.com/automic-vault/db/blob/main/combined/gitea.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
