macOS
brew install npm-check-updateslocal Homebrew formula metadata
安装
brew install npm-check-updateslocal Homebrew formula metadata
nix profile install nixpkgs#npm-check-updatesnixpkgs package indexes · pkgs/by-name/np/npm-check-updates/package.nix · 来源: api.github.com
sudo pacman -S npm-check-updatesArch Linux sync databases · npm-check-updates · 来源: geo.mirror.pkgbuild.com
概览
Find newer versions of dependencies than what your package.json allows
历史
npm-check-updates, usually invoked as ncu, is a long-running Node.js CLI for finding newer dependency versions than the ranges recorded in package.json and optionally rewriting those ranges. Its GitHub repository and npm registry package were both created on 2013-09-07.
The project's core behavior has stayed focused: compare project dependency declarations with registry versions, preserve the user's version-range style where possible, and write the package file only when asked with -u/--upgrade. The README describes support for npm, yarn, pnpm, deno, and bun, plus CLI and module usage.
By 2026 the project had a large option surface for dependency sections, registries, JSON output, workspaces, interactive upgrades, owner-change reporting, and doctor mode. The npm registry metadata consulted for this batch reported 532 published versions and latest version 22.2.9 published on 2026-06-28.
ncu is a mainstream utility in JavaScript dependency maintenance because it covers a workflow that npm outdated and npm update do not fully replace: reviewing and changing declared ranges in package.json before reinstalling. The GitHub metadata consulted for this batch reported over 10k stars, and the package is available through npm, Homebrew, Nix, and Arch.
npm's public downloads API reported 3,121,600 downloads for npm-check-updates from 2026-05-30 through 2026-06-28 and 31,701,760 downloads from 2025-06-29 through 2026-06-28. Homebrew analytics reported 4,290 formula installs over its 365-day window.
Package maintainers use ncu as a review step: run ncu to see available upgrades, inspect changelogs or use output formats such as repo/time/group, then run ncu -u followed by the package manager install command to update the lockfile. Its doctor mode is aimed at the more cautious path: iteratively install upgrades and run tests to isolate breaking updates.
Its practical role is especially visible in projects that do not want an automated bot to make every dependency decision. It gives humans a terse dependency diff, lets them filter by dependency type or package name, and supports alternative package managers while still centering package.json.
npm-check-updates is one of the standard 'dependency hygiene' tools in the Node ecosystem: small enough to use by hand, scriptable enough for CI or release chores, and independent of any one package manager's built-in update semantics.
安全态势
没有找到 npm-check-updates 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
.ncurc.ncurc.json.ncurc.yaml.ncurc.yml.ncurc.js.ncurc.mjs.ncurc.cjs~/.ncurc可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ncu | cli | 全局可执行文件 | |
npm-check-updates | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/raineorshine/npm-check-updates
安装元数据
| 软件包键 | brew:npm-check-updates |
|---|---|
| 版本 | 22.2.9 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/npm-check-updates |
| 主页 | https://github.com/raineorshine/npm-check-updates |
| 仓库 | https://github.com/raineorshine/npm-check-updates |
| 上游文档 | https://github.com/raineorshine/npm-check-updates#readme |
| 许可证 | Apache-2.0 |
| 源码归档 | https://registry.npmjs.org/npm-check-updates/-/npm-check-updates-22.2.9.tgz |
| 最后更新 | 2026-06-29T21:17:57Z |
| Pulse | updated |
| 依赖 | node |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | npm-check-updates |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
npm-check-updates
nix profile install nixpkgs#npm-check-updatesnpm-check-updates 22.2.3-1
Find newer versions of dependencies than what your package.json allows
https://github.com/raineorshine/npm-check-updates
sudo pacman -S npm-check-updates来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.