Melos is a workspace management tool for Dart and Flutter. It streamlines monorepo development by handling local linking, testing, versioning, and publishing across multiple packages.
Melos is ideal for repositories that combine applications and shared internal packages. It runs bulk scripts, generates IDE run configurations, and handles app versioning (for example, 1.2.3+45), even if you never publish to pub.dev. You can also use it for single package projects.
Melos is trusted by major projects like FlutterFire and Flame. For more information, see projects using Melos. To add yours, submit your project.
Note: Melos 8 configures directly from the root pubspec.yaml file and requires Dart 3.9+.
- Versioning and Changelogs: Automatically determines versions and writes changelogs based on Conventional Commits.
- Publishing: Pushes newly versioned packages to pub.dev.
- Local Linking: Makes local changes available to dependent packages without publishing.
- Global Commands: Runs scripts (like tests or linting) across all or selected packages simultaneously.
- Package Listing: Visualizes your workspace and its dependency graph.
- Continuous Integration: Automates commands and releases in CI, with native support via the Melos GitHub Action.
If you are coming from other ecosystems, Melos brings the same capabilities to Dart and pubspec.yaml files:
- Task running and monorepo management like Lerna, Nx, Turborepo, and Rush
- Local linking like npm, Yarn, pnpm, and Cargo workspaces
- Release automation like Changesets, semantic-release, and release-please
Note: Melos builds on top of the native Dart pub workspaces.

