-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
- Node.js 18 or newer (
node -v). Get it from https://nodejs.org or withnvm/fnm/volta. - macOS (Intel or Apple Silicon), Windows 10/11 (x64 or arm64), or Linux (x86_64 / aarch64).
- Nothing else: the package is pure JavaScript with no native modules. Blender is optional and only needed for editing (see Blender Editing).
npm i -g @hi3d/hi3d-cli # global command `hi3d-cli`
hi3d-cli --versionWithout installing: npx -y @hi3d/hi3d-cli <command> (e.g. npx -y @hi3d/hi3d-cli who_am_i).
Other package managers work the same way: pnpm add -g @hi3d/hi3d-cli, yarn global add @hi3d/hi3d-cli, bun add -g @hi3d/hi3d-cli.
If npm i -g fails with EACCES, either use a Node version manager (nvm / fnm / volta) or set a user-writable prefix once:
npm config set prefix ~/.npm-global and add ~/.npm-global/bin to your PATH.
npm i -g creates hi3d-cli.cmd (and hi3d-cli.ps1) in %APPDATA%\npm, which is on PATH for PowerShell and cmd. Open a new terminal after installing.
For MCP clients that cannot launch .cmd files, see Agent Integration → Windows.
Works with distro Node packages ≥ 18, NodeSource, nvm, or the snap. For Blender, either snap install blender --classic, your distro package (≥ 4.2), or hi3d-cli blender setup on x86_64.
npm i -g @hi3d/hi3d-cli@latestThe CLI checks npm once a day and prints a one-line hint on stderr when a newer version exists; who_am_i also reports it under client.update_available / client.update_command so agents relay it. Disable with --no-update-check or HI3D_NO_UPDATE_CHECK=1.
The scoped package is on the public npm registry. Mirrors such as npmmirror sync with a delay; if a version is missing there, install with --registry=https://registry.npmjs.org.
npm rm -g @hi3d/hi3d-cli
hi3d-cli blender uninstall # optional, before removing: deletes ~/.hi3d/blender/envs
rm -rf ~/.hi3d # config, credentials, Blender envs and caches- Node.js 18 或更高(
node -v)。从 https://nodejs.org 下载,或用nvm/fnm/volta。 - macOS(Intel 或 Apple 芯片)、Windows 10/11(x64 或 arm64)、Linux(x86_64 / aarch64)。
- 不需要别的:纯 JavaScript,没有原生模块。Blender 只有编辑功能才需要,见 Blender Editing。
npm i -g @hi3d/hi3d-cli # 全局命令 hi3d-cli
hi3d-cli --version不安装直接用:npx -y @hi3d/hi3d-cli <command>。pnpm / yarn / bun 的全局安装同理。
npm i -g 报 EACCES 时,用 Node 版本管理器(nvm / fnm / volta),或设置一次用户目录前缀:
npm config set prefix ~/.npm-global,再把 ~/.npm-global/bin 加进 PATH。
npm i -g 会在 %APPDATA%\npm 生成 hi3d-cli.cmd(和 hi3d-cli.ps1),PowerShell 和 cmd 都能直接用。安装后重开终端。
启动不了 .cmd 的 MCP 客户端见 Agent Integration → Windows。
发行版的 Node ≥ 18、NodeSource、nvm、snap 都可以。Blender 可用 snap install blender --classic、发行版包(≥ 4.2),或在 x86_64 上 hi3d-cli blender setup。
npm i -g @hi3d/hi3d-cli@latestCLI 每天检查一次 npm,有新版本在 stderr 提示一行,who_am_i 的 client.update_available / client.update_command 也会带上,agent 会转告用户;--no-update-check 或 HI3D_NO_UPDATE_CHECK=1 关闭。
包发布在 npm 官方源。淘宝等镜像同步有延迟,缺版本时加 --registry=https://registry.npmjs.org。
npm rm -g @hi3d/hi3d-cli
hi3d-cli blender uninstall # 可选,卸载前删除 ~/.hi3d/blender/envs
rm -rf ~/.hi3d # 配置、凭据、Blender 环境和缓存