Automic VaultAutomic Vault

brew

使用 Homebrew 安装 ncc

查看 ncc 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install ncc

local Homebrew formula metadata

概览

软件包摘要

Compile a Node.js project into a single file

命令和别名

  • ncc

历史

项目历史与用法

ncc is Vercel's zero-config Node.js bundler CLI for compiling a Node module and its dependencies into a single output file, with TypeScript support, asset handling, source maps, minification, externals, cache commands, and programmatic API support.

项目历史

The repository was created on 2018-11-13, with early package distribution under @zeit/ncc on npm the same day. After Zeit became Vercel, @vercel/ncc was created on npm on 2020-08-12 while the old @zeit/ncc package remained visible for legacy users.

The README describes the motivation plainly: publish minimal npm packages, ship only relevant app code to serverless environments, avoid configuring bundlers, reduce boot-time and I/O overhead, and get a compiled-language-like experience for Node programs.

采用历史

GitHub API data retrieved on 2026-07-01 showed 9,817 stars and 316 forks. The npm downloads API reported 3,712,545 downloads for @vercel/ncc and 56,253 downloads for legacy @zeit/ncc during 2026-05-30 through 2026-06-28.

GitHub's own documentation for creating JavaScript actions names @vercel/ncc alongside Rollup as a way to combine action code and dependencies into one file for distribution, which helped make ncc a common packaging tool in the GitHub Actions ecosystem.

使用方式

The standard workflow is ncc build input.js -o dist, producing a compact dist/index.js. Users add flags for minification, source maps, externals, asset builds, TypeScript transpilation, target level, V8 cache output, or license file generation as needed.

Package nerds especially use ncc for JavaScript GitHub Actions and serverless-ish deployment artifacts: commit or publish a small generated dist file instead of vendoring node_modules, while still keeping dependency resolution close to normal Node.js semantics.

为什么软件包爱好者会关心

ncc became the boring answer to 'I need one Node file, not a bundler project.' Its constraint is also its appeal: it targets Node programs, not browser apps, so the command stays small and packaging-oriented.

时间线

  • 2018-11-13: vercel/ncc repository created and @zeit/ncc package created on npm.
  • 2020-08-12: @vercel/ncc package created on npm.
  • 2024-11-15: 0.38.3 release published.
  • 2026-06-29: 0.44.1 release published.
  • 2026-07-01: Homebrew Formulae reported stable version 0.44.1.

Related projects

  • @zeit/ncc
  • GitHub Actions JavaScript actions
  • webpack asset relocator

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
ncccli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.44.1
管理器更新时间2026-07-01
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/vercel/ncc

安装元数据

软件包元数据

软件包键brew:ncc
版本0.44.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/ncc
主页https://github.com/vercel/ncc
仓库https://github.com/vercel/ncc
上游文档https://github.com/vercel/ncc
许可证MIT
源码归档https://registry.npmjs.org/@vercel/ncc/-/ncc-0.44.1.tgz
最后更新2026-07-01T00:51:23Z
Pulseupdated
依赖node
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namencc
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment