🆓 Free forever — and licensed to stay that way

Every tool here is open source; its license guarantees the right to use and redistribute it. This mirror is that promise in practice: each package's newest release that is at least 2 months old, served free forever — no account, no authentication.
Security and patch fixes are published immediately. Want every release within hours of upstream? That's the main repository at deb.griffo.io. 🚀

💬 Questions, issues or anything about this repo? Join our Discord community — the best place to get help and connect with other users.

⚒️ Install Latest Forgejo on Ubuntu

Self-hosted lightweight software forge — Beyond coding. We forge.

⏳ Not in the free mirror yet — get it from deb.griffo.io (main)
Forgejo is not in the free mirror yet. The free mirror currently serves Ghostty and Zed, with more on the way. Get Forgejo from the main repository at deb.griffo.io — every release, within hours of upstream.
SourceVersion
deb.griffo.io (main)15.0.2 ✅
Official Ubuntu🚫 not packaged
← Back to home

What is Forgejo?

Forgejo is a self-hosted lightweight software forge. Easy to install and low maintenance, it just does the job. Forgejo is a community-driven fork of Gitea focused on security, privacy, and democratic governance — giving you a self-hosted alternative to GitHub or GitLab that you fully control.

🚀 Why Staying Current Matters: Forgejo receives regular updates with security patches, new features, and performance improvements. The latest releases include Forgejo Actions (GitHub Actions-compatible CI/CD), improved package registry support, and enhanced federation capabilities.

⚡ Key Features of Forgejo

📦 Git Repository Hosting

Host unlimited public and private git repositories. Full support for Git LFS, large file storage, and repository mirroring from GitHub, GitLab, and more.

🔄 Pull Requests & Code Review

Built-in pull request workflow with inline code review, review assignments, required reviewers, and merge strategies including squash and rebase.

🐛 Issue Tracking

Full-featured issue tracker with labels, milestones, projects board, custom fields, and cross-repository references.

⚙️ Forgejo Actions

Built-in CI/CD engine compatible with GitHub Actions workflows. Use existing GitHub Actions marketplace actions on your self-hosted runner.

📚 Package Registry

Host your own packages: npm, PyPI, Maven, Docker/OCI images, Debian/RPM packages, Helm charts, and more — all in one place.

🔐 Security & Access Control

Fine-grained permissions, two-factor authentication, OAuth2 provider, LDAP/SAML integration, SSH and HTTPS access, branch protection rules.

🏆 Why Forgejo?

  • Self-hosted: Your data stays on your servers, under your control
  • Lightweight: Runs on a Raspberry Pi or a $5/month VPS
  • Gitea compatible: Drop-in replacement with full API compatibility
  • Community-driven: Democratic governance, no corporate lock-in
  • GitHub Actions compatible: Reuse existing workflows and marketplace actions
🆓 Free forever, patched immediately: Debian and Ubuntu freeze package versions when a release ships; this free mirror instead serves the newest release once it is at least 2 months old, with security fixes published immediately. Want every release within hours instead? That's the main repository at deb.griffo.io.

📦 Installation from deb-free.griffo.io

Step 1: Add Repository

sudo install -d -m 0755 /etc/apt/keyrings curl -fsSL https://deb-free.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | sudo gpg --dearmor --yes -o /etc/apt/keyrings/deb-free.griffo.io.gpg echo "deb [signed-by=/etc/apt/keyrings/deb-free.griffo.io.gpg] https://deb-free.griffo.io/apt $(lsb_release -sc 2>/dev/null) main" | sudo tee /etc/apt/sources.list.d/deb-free.griffo.io.list > /dev/null sudo apt update
install -d -m 0755 /etc/apt/keyrings curl -fsSL https://deb-free.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | gpg --dearmor --yes -o /etc/apt/keyrings/deb-free.griffo.io.gpg echo "deb [signed-by=/etc/apt/keyrings/deb-free.griffo.io.gpg] https://deb-free.griffo.io/apt $(lsb_release -sc 2>/dev/null) main" | tee /etc/apt/sources.list.d/deb-free.griffo.io.list > /dev/null apt update

Step 2: Install Forgejo

# Install latest Forgejo (also installs git and git-lfs) sudo apt install forgejo # Verify installation forgejo --version
# Install latest Forgejo (also installs git and git-lfs) apt install forgejo # Verify installation forgejo --version
📋 Post-install setup required: Forgejo is a web server — after installation you need to start it and complete the initial configuration through the web interface. See the setup steps below.

🚀 Initial Setup

The package automatically creates the git system user, the /var/lib/forgejo data directory, and the /etc/forgejo config directory. Complete the setup with:

# Start the Forgejo service sudo systemctl start forgejo # Open http://localhost:3000 in your browser to complete initial configuration # (configure database, admin account, domain, etc.) # After the web setup is complete, enable Forgejo on boot: sudo systemctl enable forgejo # Check service status sudo systemctl status forgejo

🛡️ Post-Configuration Security Hardening

After completing the web-based setup, make the config file read-only for added security:

# Lock down the config directory and app.ini after initial configuration sudo systemctl stop forgejo sudo chmod 750 /etc/forgejo sudo chmod 640 /etc/forgejo/app.ini sudo systemctl start forgejo

🔧 Command-Line Administration

Forgejo provides a CLI for administration tasks. Run commands as the git user:

# List all users sudo -u git forgejo -w /var/lib/forgejo -c /etc/forgejo/app.ini admin user list # Create admin user sudo -u git forgejo -w /var/lib/forgejo -c /etc/forgejo/app.ini admin user create \ --username admin --password changeme --email admin@example.com --admin # Regenerate Git hooks (useful after upgrades) sudo -u git forgejo -w /var/lib/forgejo -c /etc/forgejo/app.ini admin regenerate hooks

🚀 Why Choose deb-free.griffo.io?

📊 Repository Comparison:
  • Official Ubuntu: No Forgejo package available in official repos
  • Manual install: Requires downloading and placing binary manually
  • deb.griffo.io (main): Latest version with proper packaging, postinst setup, and apt update support

📦 Package Build Repository

The Ubuntu packages are automatically built and maintained in this GitHub repository:

🔗 Related Packages

Also available from deb.griffo.io:

🎯 Perfect for: Developers and teams who want full control over their source code, organizations with data privacy requirements, homelab enthusiasts, anyone looking for a self-hosted GitHub/GitLab alternative that's lightweight enough to run on minimal hardware.

💝 Support This Project

If this repository saves you time and effort, please consider supporting it!

⭐ Star on GitHub 🐦 Share on Twitter

📦 Recent releases at deb.griffo.io (main)

❓ Frequently asked questions

Is Forgejo in the official Ubuntu repositories?

No — Forgejo is not packaged in the official Ubuntu archives. This free mirror serves the newest Forgejo release that is at least 2 months old; the main repository at deb.griffo.io serves every release within hours of upstream.

How do I install the latest Forgejo on Ubuntu?

Add the deb-free.griffo.io repository once using the instructions above, then run: sudo apt install forgejo. New releases arrive through the normal sudo apt upgrade.

Are the packages signed and how are they built?

Every package is signed with the repository's GPG key (EA0F721D231FDD3A0A17B9AC7808B4DD62C41256) and built from upstream releases in public GitHub packaging repositories that anyone can inspect.

Which Ubuntu releases are supported?

Ubuntu 22.04 Jammy, 24.04 Noble, 25.10 Questing and 26.04 Resolute.