Sunday, October 25, 2026 4,350 lists 78,100 records on file
List your app or device

  1. Home
  2. Package Managers
  3. Dart pub

Dart pub

On the record

Automated publishing
After publishing a package’s first version, publishers can configure automated publishing through GitHub Actions or Google Cloud service accounts.dart.dev · read 7 Oct 2026
Command line
Pub can be used from the command line with the `dart pub` tool.dart.dev · read 7 Oct 2026
Command line and IDEs
Pub can be used through the dart or Flutter command-line tools, and most Dart-savvy IDEs support package workflows.dart.dev · read 28 Sep 2026
Dependency management
Pub resolves package versions that work together and with the installed Dart SDK.dart.dev · read 28 Sep 2026
Dependency resolution
Pub manages dependency versions to find versions compatible with each other and with the Dart SDK version.dart.dev · read 7 Oct 2026
IDE support
The page says most Dart-savvy IDEs support creating, downloading, updating, and publishing packages.dart.dev · read 7 Oct 2026
Lockfiles
Pub creates a `pubspec.lock` file listing the specific versions of a package’s direct and transitive dependencies.dart.dev · read 7 Oct 2026
Lockfile support
Yesdart.dev · read 21 Sep 2026
Offline installation
Yesdart.dev · read 21 Sep 2026
Offline use
Pub can often resolve dependencies offline from packages already stored in its shared system cache.dart.dev · read 28 Sep 2026
Package formats
Dart packagesdart.dev · read 21 Sep 2026
Package integrity
Pub uses SHA256 content hashes maintained by pub.dev to validate package integrity.dart.dev · read 7 Oct 2026
Package sources
Packages can come from pub.dev, the local file system, or other locations such as Git repositories.dart.dev · read 7 Oct 2026
Private registry auth
Yesdart.dev · read 21 Sep 2026
Production installs
The `dart pub get --enforce-lockfile` command fails if dependency constraints cannot be satisfied with the exact locked versions and content hashes.dart.dev · read 7 Oct 2026
Publication permanence
Published packages generally cannot be unpublished, though publishers can upload new versions and mark packages as discontinued.dart.dev · read 7 Oct 2026
Publisher verification
pub.dev verifies verified-publisher identities through domain ownership checks using Google Search Console logic.dart.dev · read 28 Sep 2026
Publishing
The `dart pub publish` command validates a package and uploads it to pub.dev.dart.dev · read 7 Oct 2026

Alternatives to Dart pub

Every alternative, ranked