# Pub or Flutter Repositories

Pub is Dart's package manager and the standard way to retrieve, manage, and publish packages for Dart and Flutter projects. The `dart pub` tool also supports third-party package repositories, which makes it possible to route package consumption and publication through Nexus instead of connecting directly to public sources.

Nexus Repository provides proxy, hosted and group repository support for Pub or Flutter packages. This support is available in both Community Edition and Pro.

## Getting Started with Pub in Nexus

Explore the following topics to know how to configure and use Pub with Nexus.

1. [Nexus for Pub](https://help.sonatype.com/en/pub-repositories.html#nexus-for-pub "Nexus for Pub")
2. [Create a Pub Repository](https://help.sonatype.com/en/create-a-pub-repository.html "Create a Pub Repository")
3. [Configure Pub with Nexus](https://help.sonatype.com/en/configure-pub-with-nexus.html "Configure Pub with Nexus")
4. [Pub CLI Usage](https://help.sonatype.com/en/pub-cli-usage.html "Pub CLI Usage")

## Nexus for Pub

- Supports DART and Flutter Native CLI.
- **Proxy Repository**: Centralize access to public Dart and Flutter packages from `pub.dev` through Nexus proxy repositories
- **Hosted Repository**: Publish Dart and Flutter packages as versioned archives with generated package metadata, `version.json`, and checksums
- **Group Repository**: Aggregate multiple Pub repositories (proxy, hosted, and group) into one endpoint
- Support token-based authentication for protected repositories
- Support anonymous access for read-only operations when enabled

## Search results

No results found
