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.
Nexus for Pub
Supports DART and Flutter Native CLI.
Proxy Repository: Centralize access to public Dart and Flutter packages from
pub.devthrough Nexus proxy repositoriesHosted Repository: Publish Dart and Flutter packages as versioned archives with generated package metadata,
version.json, and checksumsGroup 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