Aube vs cnpm
Aube
aube.shcnpm
github.comSide by side
| Figure | Aube | cnpm |
|---|---|---|
| Price from | — | — |
| Free plan | — | — |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| Self-hosted | — | Yes |
| Plans published | 0 | 0 |
| Spec score · JavaScript Package Managers | 7.8 (#7) | 7.6 (#11) |
| Install options | The maker documents installation through mise, Homebrew, npm, Cargo, Ubuntu PPA, Fedora COPR, and source builds. | npminstall documents options to ignore lifecycle scripts, omit optional dependencies, enforce registry-only installs, and forbid specified licenses. |
| License | The site identifies aube as MIT licensed. | The cnpm repository is licensed under MIT. |
In their own words
Aube
Aube is an open-source Node.js package manager written in Rust for Linux, macOS, and Windows. Its aubr command checks dependencies before running a project script and installs those that are missing or stale. Aube reads and writes supported pnpm, npm, Yarn, and Bun lockfiles, while its content-addressable store shares package directory trees across projects and worktrees. For one-off tools, aubx uses a local binary when available or installs the tool in a throwaway project. Workspaces, filters, and catalogs can be configured through pnpm-workspace.yaml or aube-workspace.yaml, and commands can use a project-pinned Node version. Security checks consider publishing evidence, release age, and known malicious packages during version selection. Dependency lifecycle scripts need project approval or built-in trust, with explicit denials taking precedence. Optional integrity verification checks fetched registry tarballs against recorded values. Installation options include mise, Homebrew, npm, Cargo, distribution packages, and source builds. Aube also provides embedding integrations for Rust, Node-API hosts, and C ABI consumers, plus a GitHub Action. Yarn Plug'n'Play projects are not supported and require a node_modules linker.
cnpm
cnpm is an npm client for the China mirror of npm. It supports npm commands for package installation and synchronization, and can open package documentation or a Git web URL. Global installation uses `npm install cnpm -g`, and the minimum Node.js version is 20, with LTS recommended. Users can configure a custom registry, registry web address, and user configuration file to create a private-registry npm CLI. cnpm uses npminstall by default, though the original npm installer can be selected at the stated cost of losing the fastest install speed. The mirror is read-only and aims to synchronize with the official service in real time, so write-related operations are excluded. npminstall accepts folders, tarballs, URLs, registry packages, and Git URLs. Its options include ignoring lifecycle scripts, omitting optional dependencies, enforcing registry-only installs, and forbidding specified licenses. It cannot install from shrinkwrap files, and failed installs are best retried after cleaning `node_modules`. The project is MIT licensed and recommends migrating to utoo, described as a modern npm package manager. cnpm runs on Linux, macOS, Windows, and self-hosted environments.