- Home
- Monorepo Management Tools
- manypkg
manypkg
Sydney, Australia
What it is
manypkg is a free, open-source command-line linter for package.json files in Yarn, npm, pnpm, Bun, and Lerna monorepos. It checks dependency consistency across packages, including matching external dependency ranges, internal dependency ranges that include the referenced package version, and alphabetical sorting. Other checks cover peer and development dependency relationships, root production dependencies, duplicate dependency types, package names, and repository fields. The `manypkg check` command runs the repository checks, logs errors, and exits with a code. The `manypkg fix` command also runs checks and corrects issues that can be fixed automatically. For work across packages, `manypkg run` can execute a script for a package selected by partial name or directory, and `manypkg exec` runs a CLI command across packages. The root package.json can configure the default branch, ignored rules, and whether the workspace protocol is required or allowed; the protocol setting defaults to `allow`. Installation is documented with `yarn add @manypkg/cli`. The project is licensed under MIT and supports Linux, macOS, and Windows.
For and against
For
- Free and MIT-licensed
- Supports Linux, macOS, and Windows
- Checks dependency consistency and alphabetical sorting
- Can automatically fix some problems
- Runs scripts and commands across packages
Against
- Command-line tool for monorepos
- No remote caching
The verdict
manypkg provides configurable package checks and several commands for working across monorepos, with automatic fixes for issues it can resolve. It is free under the MIT License and runs on Linux, macOS, and Windows.
Who it suits
manypkg is for developers maintaining package.json files across Yarn, npm, pnpm, Bun, or Lerna monorepos. It suits teams that want repository checks and automatic fixes from a CLI.
Plans and prices
Manypkg
MIT-licensed CLI package · Install with yarn or npm
Read 8 Oct 2026 · github.com
On the record
- Automatic fixes
- The `manypkg fix` command runs checks and fixes problems that can be fixed automatically.github.com · read 8 Oct 2026
- Check command
- manypkg check runs the repository checks, logs errors and exits with a code.github.com · read 8 Oct 2026
- Checks
- The `manypkg check` command runs the repository checks, logs errors and exits with a code.github.com · read 8 Oct 2026
- Configurable rules
- The root package.json `manypkg` configuration supports ignored rules and a workspace protocol setting, whose default is `allow`.github.com · read 8 Oct 2026
- Configuration
- The root package.json can configure the default branch, ignored rules and whether the workspace: protocol is required or allowed.github.com · read 8 Oct 2026
- Dependency consistency
- Manypkg checks that dependency ranges for external packages match across packages, excluding peerDependencies.github.com · read 8 Oct 2026
- Dependency sorting
- Manypkg checks that dependencies in dependency fields are sorted alphabetically.github.com · read 8 Oct 2026
- Execute across packages
- The `manypkg exec` command executes a CLI command for all packages within a monorepo.github.com · read 8 Oct 2026
- Fix command
- manypkg fix runs the checks and fixes problems that can be fixed.github.com · read 8 Oct 2026
- Install
- The README documents installation with `yarn add @manypkg/cli`.github.com · read 8 Oct 2026
- Internal dependencies
- Manypkg checks that dependency ranges on internal packages include the internal package version.github.com · read 8 Oct 2026
- License
- The project is licensed under the MIT License.github.com · read 8 Oct 2026
- Maker
- The GitHub organization identifies the maker as Thinkmill and lists Australia as its location.github.com · read 8 Oct 2026
- Open source activity
- The Thinkmill organization page lists the manypkg repository as updated Jul 22, 2026.github.com · read 8 Oct 2026
- Other checks
- Checks include peer and dev dependency relationships, root production dependencies, duplicate dependency types, package names, alphabetical sorting and repository fields.github.com · read 8 Oct 2026
- Package manager
- The repository root declares Yarn 1.22.22 as its package manager.github.com · read 8 Oct 2026
- Purpose
- Manypkg is a linter for package.json files in Yarn, npm, pnpm, Bun or Lerna monorepos.github.com · read 8 Oct 2026
- Run packages
- manypkg run executes a script for a package selected by partial package name or directory.github.com · read 8 Oct 2026