Secure, hosted Dart package repositories
Cloudsmith gives your team fully managed, private Dart repositories with token-based authentication, upstream proxying, and governance controls - without the overhead of self-hosted infrastructure.
Centralize and control your Dart packages. Cloudsmith is a secure, fully managed store for all your Dart artifacts and dependencies.
- Use Dart + 30 other formats in one place
- Proxy and cache pub.dev packages to speed up builds and eliminate external registry risk
- Enforce governance policies governing which packages are permitted across your repositories
How we support Dart
Why teams choose Cloudsmith for Dart
Signs you're ready to switch to Cloudsmith for Dart
Get started with Dart on Cloudsmith
Frequently asked questions
Yes. Cloudsmith's Dart repository is fully compatible with dart pub and flutter pub. You authenticate using dart pub token add and push or pull packages without changing your existing workflow.
Cloudsmith supports Dart SDK version 2.15.1 and above. SDK versions 2.14 and earlier are no longer supported. All standard dart pub operations work as expected on supported SDK versions.
Yes. Cloudsmith gives you private repositories that are not accessible without authentication. You control access at the team or individual level and can distribute packages to external consumers using scoped entitlement tokens.
Cloudsmith supports API key tokens, OIDC for CI/CD pipelines such as GitHub Actions, and password-based authentication. You add credentials once using dart pub token add and the CLI handles all subsequent requests automatically.
Yes. Cloudsmith scans Dart packages for known CVEs and malware. You can configure rules to automatically quarantine or block packages based on vulnerability severity, so no risky package reaches a developer's machine without review.
Yes. Cloudsmith's upstream proxying lets you route pub.dev requests through your own repository. Packages are cached locally so your builds remain stable even if pub.dev experiences an outage or a package is retracted.
Yes. Cloudsmith's policy engine lets you create governance rules governing which packages and versions are permitted in your repositories. You can block specific versions, require specific metadata fields, or quarantine packages that do not meet your criteria before any team member installs them.
Yes. All Cloudsmith repositories are multi-format. You can store Dart packages alongside Docker images, Python wheels, npm modules, and 30 other formats in a single repository, centralizing your entire software supply chain.
You can upload existing packages using the Cloudsmith CLI or REST API. Once uploaded, you update your pubspec.yaml to point to your Cloudsmith repository URL and authenticate using dart pub token add. Migration requires no changes to your package source code.
Yes. Cloudsmith integrates with GitHub Actions, Jenkins, CircleCI, and most major CI systems. You can authenticate using OIDC for keyless authentication in pipelines, avoiding the need to store long-lived credentials as secrets.