# Formats

Nexus Repository supports the following repository formats in all distributions. Support for each format may vary by repository type (Proxy, Hosted, and Group), as shown in the table. [Pro-licensed](/content/nexus-repository-sonatype/index.html) users receive Enterprise support for these formats.

| Format | **Description** | Proxy | Hosted | Group |
| --- | --- | --- | --- | --- |
| [Alpine](https://help.sonatype.com/en/alpine-repositories.html "Alpine Repositories") | Manage `.apk` packages for Alpine Linux by proxying upstream Alpine repositories, hosting internal packages, or grouping Alpine repositories behind a single endpoint URL. |  |  |  |
| [Ansible](https://help.sonatype.com/en/ansible-repositories.html "Ansible Repositories") | Use Ansible Galaxy repositories to proxy, host and group multiple collections of upstream Galaxy servers, or internal collections. |  |  |  |
| [APT](https://help.sonatype.com/en/apt-repositories.html "APT Repositories") | Use Advanced Package Tool (APT) tools such as apt-get to access hosted Debian, Ubuntu, and other Linux software packages. |  |  |  |
| [Bower](https://help.sonatype.com/en/bower-repositories.html "Bower Repositories") | Keep track of all your website frontend development packages using Bower registries.<br>**Note:**Bower format is not compatible with H2 or PostgreSQL databases. |  |  |  |
| [CocoaPods](https://help.sonatype.com/en/cocoapods-repositories.html "CocoaPods Repositories") | The manager for CocoaPods packages might contain Swift code and Objective-C Cocoa projects. Note that Apple's Swift Package Manager is not supported through CocoaPods format. |  |  |  |
| [Composer (PHP)](https://help.sonatype.com/en/composer-repositories.html "Composer Repositories") | Proxy PHP components through your Nexus Repository. |  |  |  |
| [Conan](https://help.sonatype.com/en/conan-repositories.html "Conan Repositories") | Share your C/C++ packages in a central repository. |  |  |  |
| [Conda](https://help.sonatype.com/en/conda-repositories.html "Conda Repositories") | Supports proxy, hosted and group repositories. Proxy Conda packages for languages such as Python, R, Ruby, Lua, Scala, Java, JavaScript, C/C++, and FORTRAN. |  |  |  |
| [Docker](https://help.sonatype.com/en/docker-registry.html "Docker Registry") | Proxy, host and group popular Docker registries such as DockerHub and AWS ECR. |  |  |  |
| [Git LFS](https://help.sonatype.com/en/git-lfs-repositories.html "Git LFS Repositories") | Store large files such as audio samples, videos, datasets, and graphics inside repositories and use simple text pointers to these inside your Git project. |  |  |  |
| [Go](https://help.sonatype.com/en/go-repositories.html "Go Repositories") | Modernize your development process and store [Go](https://golang.org/) (golang) dependencies for fast, repeatable local builds. Hosted repository support is available from 3.93 in self-hosted deployments. |  |  |  |
| [Helm](https://help.sonatype.com/en/helm-repositories.html "Helm Repositories") | Supports proxy, hosted and group repositories. Manage packages for Kubernetes by accessing Helm Charts in [Helm](https://helm.sh/) repositories. |  |  |  |
| [Hugging Face](https://help.sonatype.com/en/formats.html#hugging-face-repositories "Hugging Face Repositories") | Proxy the Hugging Face registries to manage large language AI models |  |  |  |
| [Maven](https://help.sonatype.com/en/maven-repositories.html "Maven Repositories") | Leverage the most experienced Maven repository format product to host your private Java components and proxy defacto public repositories like Central using tooling such as Maven, Ant, and Gradle. |  |  |  |
| [npm](https://help.sonatype.com/en/npm-registry.html "npm Registry") | Publish your javascript node.js projects to hosted registries and integrate dependencies from external JavaScript package registries. |  |  |  |
| [NuGet](https://help.sonatype.com/en/nuget-repositories.html "NuGet Repositories") | Use NuGet client-compatible tooling to push and install .Net packages. Development is easier using consolidated hosted and proxy registries.<br>- NuGet v2 format support for H2 or PostgreSQL databases is available as of release 3.43.0+. |  |  |  |
| **[OCI](https://help.sonatype.com/en/oci-repositories.html "OCI Repositories")** | Stores, manages, and distributes container images and other OCI-compliant artifacts. |  |  |  |
| [p2](https://help.sonatype.com/en/p2-repositories.html "p2 Repositories") | Proxy p2 format repositories for your Eclipse IDE and other Equinox-based application dependencies. |  |  |  |
| [Pub / Flutter](https://help.sonatype.com/en/pub-repositories.html "Pub or Flutter Repositories") | Support for proxy, hosted and group Pub or Flutter repositories. |  |  |  |
| [PyPI](https://help.sonatype.com/en/pypi-repositories.html "PyPI Repositories") | Python development tools such as pip and twine can be used to install and publish packages to PyPI repositories. |  |  |  |
| [R](https://help.sonatype.com/en/r-repositories.html "R Repositories") | Proxy packages from the [official R registry](https://cran.r-project.org/) and host your packages.<br>**Note:**Hosted and Group repository types support only the .gz files |  |  |  |
| [Raw](https://help.sonatype.com/en/raw-repositories.html "Raw Repositories") | A flexible format that does not enforce any type of layout enabling you to store and serve any type of binary content such as Maven sites over HTTP. |  |  |  |
| [RubyGems](https://help.sonatype.com/en/rubygems-repositories.html "RubyGems Repositories") | Host your own gems and proxy remote gem repositories like [rubygems.org](https://www.rubygems.org/). |  |  |  |
| **[Rust / Cargo](https://help.sonatype.com/en/rust-cargo.html "Rust / Cargo Repositories")** | Support for hosted, proxy, and group Cargo repositories. Publish crates to hosted Cargo repositories. Not compatible with existing Community plugin. Review the [Rust / Cargo topic](https://help.sonatype.com/en/rust-cargo.html "Rust / Cargo Repositories") for details. |  |  |  |
| **[Swift](https://help.sonatype.com/en/swift-repositories.html "Swift Repositories")** | Support for Swift proxy, hosted and group repositories. Configure Xcode to fetch Swift packages from a Nexus Swift registry |  |  |  |
| **[Terraform](https://help.sonatype.com/en/terraform-repositories.html "Terraform Repositories")** | Support for proxy and hosted repository. Proxy modules and providers from `registry.terraform.io` |  |  |  |
| [Yum](https://help.sonatype.com/en/yum-repositories.html "Yum Repositories") | First-class support for hosting and proxying your RPM distributions. |  |  |  |

## Hugging Face Repositories

**Note**

Support for XET (Extended Execution Time) is coming soon to Sonatype Nexus Repository.

Hugging Face is a machine learning platform and community best known for its extensive library of pre-trained transformer models for various tasks, such as natural language processing, computer vision, and audio analysis. The platform provides tools for building, training, and deploying machine learning models and datasets, and spaces to share and collaborate with others.

Hugging Face platform consists of the following components:

- **Models:** Core components of Hugging Face, pre-trained brains to perform tasks. They are the recipes that have already been perfected.

- **Datasets:** Collections of data used to train and evaluate the models. They are the ingredients for the recipes.

- **Spaces:** They are like interactive demos or apps built with Hugging Face models. You can use them to test out models to see how they work.

Nexus Repository 3 supports proxying Hugging Face **models** in both cloud and self-hosted (Pro and CE) deployments.

### Getting Started with Hugging Face in Nexus

Explore the following topics to learn how to configure and use Hugging Face with Nexus Repository.

1. [Nexus for Hugging Face](urn:resource:element:798517/section-id753694331981922)

2. [Create a Hugging Face Repository](https://help.sonatype.com/en/create-a-hugging-face-repository.html "Create a Hugging Face Repository")

3. [Configure Hugging Face with Nexus](https://help.sonatype.com/en/configure-hugging-face-with-nexus.html "Configure Hugging Face with Nexus")

4. [Hugging Face CLI Usage](https://help.sonatype.com/en/hugging-face-cli-usage.html "Hugging Face CLI Usage")

### Nexus for Hugging Face

- **Proxy Repository:** Centralize access to Hugging Face models through a Nexus proxy repository.

- Manage access through Nexus authentication and authorization controls.

- Supports Bearer token authentication starting with Nexus Repository 3.95.

- Retain Hugging Face Git commit hashes when caching different repository revisions.
