Skip to content
SPECIFICTION
Get listed

Lerna vs Melos

Lerna

lerna.js.org

Melos

melos.invertase.dev

Side by side

FigureLernaMelos
Price from$29/mo—
Free planYes—
Free trialYes—
Open source——
WebYes—
WindowsYesYes
macOS—Yes
Linux—Yes
iOS—Yes
Android—Yes
Self-hostedYes—
Plans published30
Spec score · Monorepo Management Tools8.1 (#12)7.7 (#20)
PublishingLerna manages versioning and publishing packages to npm and supports fixed or independent versioning workflows.Melos automates publishing packages to pub.dev.

Plans

Lerna

  • HobbyFree
  • Team$29 a month
  • EnterprisePriced on request

Lerna pricing →

Melos

No plans published.

Melos pricing →

In their own words

Lerna

Lerna is a free, open-source build system for managing and publishing JavaScript and TypeScript packages from one repository. It runs commands across projects in an efficient order and can parallelize tasks, cache results, and distribute work across machines. When task files and terminal output are already in its computation cache, Lerna can restore them instead of rerunning the task. It manages package versioning and npm publishing, with fixed or independent versioning workflows, and includes an interactive graph for viewing workspace structure and dependencies. Lerna uses Nx to identify workspace packages and dependencies and to run scripts with parallelism, caching, and distribution. It supports npm, yarn, pnpm, and bun; dependency installation and linking should be handled through those package managers’ workspace features. Nx Cloud has a free Hobby plan, a Team plan at $29 a month, and Enterprise with custom pricing. For closed-source projects, Nx Cloud provides the first 500 computation hours per month free, then charges $1 per computation hour. Its Hobby plan includes 50,000 credits monthly, five contributors, 10 concurrent CI connections, and community support.

Visit lerna.js.org

Melos

Melos is a command-line tool for managing Dart and Flutter projects, including workspaces with multiple packages in a monorepo. It links local packages, installs workspace dependencies and can synchronize shared dependencies and run lifecycle scripts during bootstrap. Commands can run across packages simultaneously and be narrowed by scope, category, changed packages, Flutter dependencies or package dependencies. Melos can also list local packages and their dependencies.

The tool automates package versioning and changelog generation, and can publish packages to pub.dev. It supports CI/CD workflows and provides a GitHub Action; single-package projects can use it for versioning, publishing and changelogs too. IntelliJ support generates project modules and run configurations, while the VS Code extension offers configuration validation, autocompletion, tasks and package graphs. Melos is free, installs globally through Dart Pub and supports Pub as its package manager. Version 8.x.x requires Dart SDK 3.9.0 or newer. Publishing requires permission for all packages and a machine authenticated with Pub; dry-run is enabled by default. IntelliJ integration is documented only for Melos v6 and lower.

Visit melos.invertase.dev