cnpm

Input—per 1M tokens
Output—per 1M tokens
Context—tokens
WeightsClosed

About

cnpm is ranked #7 of 17 in JavaScript package managers on Inferse. It runs on Linux, macOS, Self-hosted, Windows.

Compared on JavaScript package managers

Free plan
Yesgithub.com
Workspace support
Yesgithub.com
Lockfile support
Yesgithub.com
Peer dependency handling
Yesgithub.com
Package publishing
Yesgithub.com
Offline package cache
Yesgithub.com
Global installation
Yesgithub.com

Facts

Purpose
cnpm is an npm client for the China mirror of npm.github.com · 28 Sept 2026
Project status
The project recommends migrating to utoo, described as a modern npm package manager.github.com · 28 Sept 2026
Install
The project instructs users to install cnpm globally with `npm install cnpm -g`.github.com · 28 Sept 2026
Node.js requirement
The minimum Node.js version is 20, with LTS recommended.github.com · 28 Sept 2026
Commands
cnpm supports npm commands, including package synchronization and opening package documentation or a Git web URL.github.com · 28 Sept 2026
Private registries
The README shows how to alias cnpm with a custom registry, registry web URL, and user configuration file to build a private registry npm CLI.github.com · 28 Sept 2026
Installer
cnpm uses npminstall by default; users can select the original npm installer, with a stated loss of the fastest install speed.github.com · 28 Sept 2026
Mirror
npmmirror describes itself as a read-only npm mirror that aims to synchronize with the official service in real time.npmmirror.com · 28 Sept 2026
Mirror commands
npmmirror says its cnpm CLI supports commands such as install, info, and view, while write-related operations are excluded.npmmirror.com · 28 Sept 2026
Package types
npminstall supports package inputs including folders, tarballs, URLs, registry packages, and Git URLs.github.com · 28 Sept 2026
Install options
npminstall documents options to ignore lifecycle scripts, omit optional dependencies, enforce registry-only installs, and forbid specified licenses.github.com · 28 Sept 2026
Limitations
npminstall says it cannot install from shrinkwrap files and warns that failed installs are best retried after cleaning node_modules.github.com · 28 Sept 2026
License
The cnpm repository identifies its license as MIT.github.com · 28 Sept 2026
Purpose
cnpm is an npm client for the npmmirror.com China mirror of npm.github.com · 29 Sept 2026
Project status
The project recommends migrating to utoo, described as a modern npm package manager.github.com · 29 Sept 2026
Compatibility
cnpm supports npm commands, and npmmirror says it supports commands such as install, info, and view, except write-related operations.npmmirror.com · 29 Sept 2026
Package sync
Users can sync packages from npm with `cnpm sync [moduleName]`.github.com · 29 Sept 2026
Package documentation
The `cnpm doc` command opens package documentation, and `cnpm doc -g` opens a Git web URL.github.com · 29 Sept 2026
Installation
The project documents global installation with `npm install cnpm -g`.github.com · 29 Sept 2026
Node.js requirement
The README lists Node.js 20 as the minimum requirement and LTS as recommended.github.com · 29 Sept 2026
Installer
cnpm uses npminstall by default; the README says users can choose the original npm installer, with slower install speed.github.com · 29 Sept 2026
Private registry
The README shows how to alias cnpm with custom registry, registry web, and user configuration URLs to build a private registry npm CLI.github.com · 29 Sept 2026
Mirror behavior
npmmirror describes itself as a read-only npm mirror that aims to synchronize with the official service in real time.npmmirror.com · 29 Sept 2026
License
The cnpm repository is licensed under MIT.github.com · 29 Sept 2026
Maintainer
The package metadata lists fengmk2 as its author.github.com · 29 Sept 2026

Best cnpm alternatives

See all 12

Where it ranks on Inferse

Sources