Package Registry
Starting with Gitea 1.17, the Package Registry can be used as a public or private registry for common package managers.
Supported package managers
The following package managers are currently supported:
Name | Language | Package client |
---|---|---|
Cargo | Rust | cargo |
Chef | - | knife |
Composer | PHP | composer |
Conan | C++ | conan |
Conda | - | conda |
Container | - | any OCI compliant client |
Generic | - | any HTTP client |
Helm | - | any HTTP client, cm-push |
Maven | Java | mvn , gradle |
npm | JavaScript | npm , yarn , pnpm |
NuGet | .NET | nuget |
Pub | Dart | dart , flutter |
PyPI | Python | pip , twine |
RubyGems | Ruby | gem , Bundler |
Vagrant | - | vagrant |
The following paragraphs only apply if Packages are not globally disabled!
Repository-Packages
A package always belongs to an owner (a user or organisation), not a repository. To link an (already uploaded) package to a repository, open the settings page on that package and choose a repository to link this package to. The entire package will be linked, not just a single version.
Linking a package results in showing that package in the repository's package list, and shows a link to the repository on the package site (as well as a link to the repository issues).