@bigbrainforge/setup

中文文档
3.60.0发布于 2026/11/04UNLICENSED零依赖近 30 天下载 2194

Forge workstation setup — paste one license, get a working Forge install.

原始使用文档
文档目录4 节
  1. What it does
  2. Behind a proxy or TLS inspection
  3. If a step fails after setup has already run once
  4. Runtime dependencies

@bigbrainforge/setup

Forge workstation setup — paste one license, get a working Forge install.

npx @bigbrainforge/setup <your-forge-license>

Or run it with no argument and paste the license when prompted (the value is never echoed to the terminal):

npx @bigbrainforge/setup

What it does

  1. Checks the machine has tar (needed to unpack the plugin bundle).
  2. Stores the license at ~/.claude/forge/license (0600).
  3. Discovers and pins your Forge instance (~/.claude/forge/config.json).
  4. Seeds ~/.npmrc with the @bigbrainforge registry + auth line.
  5. Downloads and sha256-verifies the Forge plugin bundle, then stages it as a local Claude Code marketplace under ~/.claude/forge/plugin-bundle/.
  6. Registers the marketplace and installs the plugin via the claude CLI — if claude isn't on this machine, prints the two commands to run by hand.
  7. Hands off to the plugin's own bootstrap (server check + issue tracker setup).

Every step names its own failure tier (machine / credential / instance discovery / package plane / distribution plane / Claude Code CLI / plugin bootstrap) and the one fix to try next — nothing is a silent skip.

Behind a proxy or TLS inspection

Setup and the Forge plugin use the standard proxy variables. Set them in the environment that runs setup and Claude Code:

  • HTTPS_PROXY — your proxy, e.g. http://proxy.example.com:8080; put a proxy login in the URL as http://user:password@host:port.
  • NO_PROXY — hosts to reach directly, comma-separated.
  • NODE_EXTRA_CA_CERTS — the path to your organisation's root CA certificate (PEM), when a proxy or firewall inspects TLS.

A proxy or certificate failure is reported as such, with the variable to fix.

If a step fails after setup has already run once

Run the same command again: npx "@bigbrainforge/setup". Step 4 points the @bigbrainforge npm scope at the Forge license proxy, and the proxy serves this public package with no license check, so the rerun works even when your license is missing, expired or revoked.

One exception: a machine whose ~/.npmrc still has the retired @bigbrainforge:registry=https://npm.pkg.github.com line cannot find this package until setup replaces that line. On such a machine, run setup once with a one-shot registry override:

npx --@bigbrainforge:registry=https://registry.npmjs.org "@bigbrainforge/setup"

Runtime dependencies

None. This package is published PUBLIC to npmjs and runs via npx on a machine with zero prior Forge configuration; everything it needs beyond Node's own builtins is bundled at build time (scripts/build.mjs, esbuild). It carries no secrets and no sealed Forge IP — anything of value it downloads is license-gated server-side.

版本与发布记录

@bigbrainforge/setup 共发布 41 个版本,首次发布于 2026/08/16;过去 12 个月发布了 41 个版本。

版本发布日期距今
3.60.0latest2026/11/044 天前
3.59.02026/11/035 天前
3.58.02026/11/035 天前
3.57.02026/11/017 天前
3.56.02026/11/017 天前
3.55.02026/10/309 天前

关于 @bigbrainforge/setup 的常见问题

@bigbrainforge/setup 是什么?

Forge workstation setup — paste one license, get a working Forge install.

如何安装 @bigbrainforge/setup?

在项目目录运行 npm install @bigbrainforge/setup,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 forge-setup,可以用 npx forge-setup 直接运行。

@bigbrainforge/setup 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/bigbrainforge__setup 是否存在。

@bigbrainforge/setup 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=24.22.1。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@bigbrainforge/setup 可以商用吗?

@bigbrainforge/setup 使用 UNLICENSED 许可。作者声明为 UNLICENSED,即不授予公开使用许可(与公共领域的 Unlicense 不同)。使用前需获得作者授权。以上为概括,不构成法律意见,请以许可原文为准。

@bigbrainforge/setup 的下载量有多少?

根据 npm 官方下载统计,@bigbrainforge/setup 在 2026/10/08 – 2026/11/06 这 30 天内被下载 2,194 次,日均约 73 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@bigbrainforge/setup 还在维护吗?

最新版本 3.60.0 发布于 2026/11/04(4 天前);至今共发布 41 个版本,其中过去 12 个月发布了 41 个;首次发布于 2026/08/16。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。