manypkg
github.com
- Free plan
- Windows
- macOS
- Linux
What manypkg is
manypkg is a free, open-source linter for package.json files in monorepos using Yarn, npm, pnpm, Bun or Lerna. It checks dependency ranges, internal package references, dependency sorting and other repository conventions. For external dependencies, it checks that ranges match across packages, excluding peerDependencies; for internal packages, it checks that ranges include the referenced package version. Other checks cover peer and dev dependency relationships, root production dependencies, duplicate dependency types, package names and repository fields. The `manypkg check` command runs repository checks, logs errors and exits with a code. `manypkg fix` corrects issues it can fix automatically. The CLI can also run package scripts with `manypkg run` or execute a command across packages with `manypkg exec`. The root package.json can configure ignored rules, the default branch and workspace protocol behavior; the protocol setting defaults to `allow`. Installation is documented with `yarn add @manypkg/cli`. It is licensed under MIT and supports Linux, macOS and Windows. The project lists workspace boundaries, but no task graph, affected-build or remote-caching support.
Who it suits
manypkg suits developers maintaining package.json files across Yarn, npm, pnpm, Bun or Lerna monorepos. It is particularly relevant to teams that want consistent dependency declarations and package-level commands.
Good to know, and what to watch
- Checks external dependency ranges across packages.
- Validates internal dependency ranges against package versions.
- Can automatically fix some detected problems.
- Runs on Linux, macOS and Windows.
- Free under the MIT License.
- Does not provide a task graph.
- Does not support affected builds or remote caching.
- No dedicated support terms are listed.
Plans
Every plan and priceManypkg
Open source
The verdict
manypkg brings monorepo package checks and commands into a free CLI, with configurable rules and automatic fixes for some issues.
What the maker publishes
- Automatic fixes
- The `manypkg fix` command runs checks and fixes problems that can be fixed automatically. source
- Check command
- manypkg check runs the repository checks, logs errors and exits with a code. source
- Checks
- The `manypkg check` command runs the repository checks, logs errors and exits with a code. source
- Configurable rules
- The root package.json `manypkg` configuration supports ignored rules and a workspace protocol setting, whose default is `allow`. source
- Configuration
- The root package.json can configure the default branch, ignored rules and whether the workspace: protocol is required or allowed. source
- Dependency consistency
- Manypkg checks that dependency ranges for external packages match across packages, excluding peerDependencies. source
- Dependency sorting
- Manypkg checks that dependencies in dependency fields are sorted alphabetically. source
- Execute across packages
- The `manypkg exec` command executes a CLI command for all packages within a monorepo. source
- Fix command
- manypkg fix runs the checks and fixes problems that can be fixed. source
- Headquarters
- Sydney, Australia source
- Install
- The README documents installation with `yarn add @manypkg/cli`. source
- Internal dependencies
- Manypkg checks that dependency ranges on internal packages include the internal package version. source
- License
- The project is licensed under the MIT License. source
- Maker
- The GitHub organization identifies the maker as Thinkmill and lists Australia as its location. source
- Open source activity
- The Thinkmill organization page lists the manypkg repository as updated Jul 22, 2026. source
- Other checks
- Checks include peer and dev dependency relationships, root production dependencies, duplicate dependency types, package names, alphabetical sorting and repository fields. source
- Package manager
- The repository root declares Yarn 1.22.22 as its package manager. source
- Purpose
- Manypkg is a linter for package.json files in Yarn, npm, pnpm, Bun or Lerna monorepos. source
- Run packages
- manypkg run executes a script for a package selected by partial package name or directory. source
- Run package scripts
- The `manypkg run` command executes scripts for packages within a monorepo. source
- Security
- The opened project pages provided no security or compliance claims. source
- Support
- The opened project pages provided no dedicated support terms. source
- Support contact
- The Thinkmill GitHub organization lists [email protected] as its contact email. source
- Supported monorepos
- The README names Yarn, npm, pnpm, Bun and Lerna monorepos as supported. source
Checked against the maker's pages on 8 Oct 2026.