gitea
SHA-256A painless self-hosted Git service. Lightweight, cross-platform, and easy to set up.
Smart Download
Download Download Version
v1.26.1 · 117.2 MB
A lightweight, self-hosted Git service with built-in CI/CD, easier than GitLab.
Core Features
- Single binary, low resource usage
- Built-in CI/CD (Gitea Actions), Package registry, Wiki, Issue tracker
- Multiple authentication backends (LDAP, OAuth, SMTP)
- Rich webhook and API support
- Migrate repos from GitHub/GitLab
What It Can't Do
- •For production, use MySQL/PostgreSQL and a reverse proxy (Nginx/Caddy). SQLite is only for testing. Set the correct domain and base path during first install to avoid migration headaches. The built-in Actions Runner needs separate installation.
Use Cases
- Self-hosted code hosting for individuals or small teams
- Air-gapped or internal development environments
- Cost-effective DevOps base for enterprises
Detailed Introduction
Gitea is a community-managed, self-hosted Git service written in Go. It aims to provide the easiest, fastest, and most painless way to host your own Git repositories. Forked from Gogs in 2016, Gitea has since grown significantly with a vibrant community. It supports all platforms Go supports (Linux, macOS, Windows on x86, amd64, ARM, PowerPC). Features include repository management, issue tracking, pull requests, code reviews, built-in CI/CD (Actions), package registry, wiki, and more. You can run it as a single binary or via Docker. Also offers a hosted cloud service (Gitea Cloud) for quick deployment.
Troubleshooting & FAQ (1)
How-toHow to avoid duplicating API structs between Gitea main repository and go-sdk?
Use a replace directive in the main repo's go.mod to point the go-sdk import to the local sdk package. This eliminates the need to copy structs, and go mod vendor correctly picks up local changes. Example: replace github.com/go-gitea/go-sdk => ./sdk. The author confirmed that vendoring works without previous issues.
Tags
Getting Started
Download installer
Click the button above to download the installer for your system
Install the software
Double-click the downloaded installer and follow the prompts
Download the latest binary from https://dl.gitea.com/gitea/latest/ for your OS
Place the binary in any directory and run `./gitea web` (first run shows installation wizard)
Open http://localhost:3000 in browser, follow the wizard to set up database and admin account
- Download the latest binary from https://dl.gitea.com/gitea/latest/ for your OS
- Place the binary in any directory and run `./gitea web` (first run shows installation wizard)
- Open http://localhost:3000 in browser, follow the wizard to set up database and admin account
SHA-256 checksum verified
Checksum extracted from GitHub official Release page
SHA256 Checksum
d0f88f56b795481ce438f3053bacf0d6ac153455e3fa8a626bbac9e79463c305This checksum is extracted from the GitHub Release page. Verify file integrity after download.
All SHA-256 checksums on this platform are extracted from the project's official GitHub Release page, without any modification. You can independently verify them on the GitHub Releases page.
Open Source Transparency
View GitHub SourceUninstall Info
Delete the Gitea binary and its data directory (default ~/.gitea or custom path) to fully uninstall.
No Extra Dependencies
Ready to use after download. No additional runtime required.
Having issues? Check the FAQ below
1 FAQ