@codexhost/cli-win32-x64

中文文档
0.18.0发布于 2026/11/12ES Module零依赖构建来源已验证近 30 天下载 3210

Run Pi and Claude Code as first-class external harnesses inside Codex Desktop.

原始使用文档
文档目录5 节
  1. Install
  2. Usage
  3. Uninstall or downgrade
  4. Requirements
  5. Notes

@codexhost/cli-win32-x64

Run Pi and Claude Code as first-class external harnesses inside Codex Desktop.

Internal platform package for @codexhost/cli, built for windows-x64.

Install

npm install -g @codexhost/[email protected]

Do not install this package directly. npm selects it through the optional dependencies of @codexhost/cli.

This package is platform-specific (os=win32, cpu=x64).

Usage

codexhost
codexhost --version
codexhost inspect
codexhost launch
codexhost web
codexhost status
codexhost autostart on
codexhost autostart status
codexhost stop
codexhost remote install
codexhost remote start
codexhost remote stop
codexhost remote status
codexhost remote uninstall
codexhost broker status

The codexhost command launches the packaged Rust launcher with:

  • the current Node.js executable for Web; Host may use Desktop's bundled Node for native integration
  • packaged host-runtime, Desktop Controller, Renderer, Shim and Web resources

codexhost starts background Web alongside Desktop, or opens Web when Desktop is not installed. codexhost web ensures Host and Web run in the background and opens a browser; over SSH or without a graphical session it only prints a local login link. Closing the terminal or interface does not stop the services. CODEXHOST_WEB_SERVICE=0 disables Web startup alongside codexhost.

Web initially listens on 127.0.0.1:4400. The local Connect devices page controls LAN access and Tailscale Serve. codexhost web --host 0.0.0.0 --port 4500 enables LAN access on another port; --host, --port, --public-url and --trusted-proxy are validated and saved for later starts, with an empty value clearing the option. Changes restart only Web, disconnecting Web terminals but preserving Host tasks. Port conflicts fail without killing the listener or choosing another port. LAN HTTP is unencrypted.

Matching services are reused; a version or installation mismatch replaces them, interrupting Host tasks when Host is replaced. codexhost status reads Host/Web status and versions, a token-free address, the last Web failure and autostart state. codexhost stop stops managed Desktop, Web, Host, remote services, Broker and Console, without confirmation, and reports interrupted Host tasks. Session data, autostart and Serve configuration remain; independently opened Desktop is not closed. Remote services return when another computer reconnects, but interrupted tasks do not resume automatically.

codexhost autostart on|off|status manages current-user login startup, off by default. Login starts Host and Web without opening an interface. Linux requires systemd user services; linger is user-managed. Running codexhost refreshes enabled autostart with the current Node and CLI paths. The computer must remain awake and connected for phone access.

Office preview components download from the npm registry on first use on the Web computer; documents are not uploaded. Download failures do not affect other features and can be retried.

Uninstall or downgrade

Before removing the package or switching to a version without background Web support:

codexhost stop
codexhost autostart off
npm uninstall -g @codexhost/cli

Serve configuration is retained. Check tailscale serve status; if the HTTPS 443 root path still points to this Web, use tailscale serve --https=443 --set-path=/ off (substitute the actual HTTPS port). Do not remove another service's root path or omit --set-path=/. The local Connect devices page can also disable Serve while Web is running.

Requirements

  • Node.js 22.19.0 or later, except 23.x (other releases lack parts of the built-in node:sqlite module)
  • Official ChatGPT/Codex Desktop only when using the Desktop interface; Web works without it
  • Pi on PATH when using the Pi agent
  • Claude Code installed when using the Claude Code adapter

Notes

  • This npm package does not embed a private Node.js runtime.
  • On macOS, remote install manages the current-user Aqua Harness broker; it never asks for a Keychain password or copies Claude credentials.
  • Installer packages (DMG/EXE) remain the zero-dependency desktop distribution path.
  • Prefer npm install -g @codexhost/cli over installing the monorepo root.

版本与发布记录

@codexhost/cli-win32-x64 共发布 66 个版本,首次发布于 2026/08/04;过去 12 个月发布了 66 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.18.0latest2026/11/12今天
0.18.0-beta.5next2026/11/111 天前
0.18.0-beta.42026/11/102 天前
0.18.0-beta.32026/11/093 天前
0.18.0-beta.12026/11/084 天前
0.17.42026/11/075 天前

其他发布通道:test → 0.9.1-test.2,next → 0.18.0-beta.5。

关于 @codexhost/cli-win32-x64 的常见问题

@codexhost/cli-win32-x64 是什么?

Run Pi and Claude Code as first-class external harnesses inside Codex Desktop.

如何安装 @codexhost/cli-win32-x64?

在项目目录运行 npm install @codexhost/cli-win32-x64,或使用 pnpm add / yarn add / bun add。

@codexhost/cli-win32-x64 支持 TypeScript 吗?

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

@codexhost/cli-win32-x64 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@codexhost/cli-win32-x64 需要什么版本的 Node.js?

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

@codexhost/cli-win32-x64 可以商用吗?

@codexhost/cli-win32-x64 使用 未声明 许可。package.json 没有声明许可证。没有许可证的代码默认保留全部权利,商用前请联系作者或查看仓库中的 LICENSE 文件。以上为概括,不构成法律意见,请以许可原文为准。

@codexhost/cli-win32-x64 的下载量有多少?

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

@codexhost/cli-win32-x64 还在维护吗?

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