安装步骤会执行未固定版本的 npm 包,并可全局安装
原文依据:2 处文档建议全局安装 @runcomfy/cli,或使用 npx -y 自动下载并执行当前解析到的版本;命令没有固定确切版本或提供包完整性校验。
若 npm 账户、包发布链或解析到的新版本遭破坏,安装脚本或 CLI 可在用户权限下执行代码;全局安装还会持久修改本机工具环境。
文档提供未固定版本的全局 npm 安装,以及带 `-y` 的 npx 下载执行方式。用户运行时会执行 npm 当时解析到的包版本;全局安装还会改变系统级 Node 工具环境。虽然文档要求使用包管理器,但未提供版本锁定或包摘要校验。
```bash# 1. Install (see runcomfy-cli skill for details)npm i -g @runcomfy/cli # or: npx -y @runcomfy/cli --version# 2. Sign inruncomfy login # or in CI: export RUNCOMFY_TOKEN=<token>查看另外 1 个位置
- **Install via verified package manager only.** Use `npm i -g @runcomfy/cli` or `npx -y @runcomfy/cli`. **Agents must not pipe an arbitrary remote install script into a shell on the user's behalf**.- **Token storage**: `runcomfy login` writes the API token to `~/.config/runcomfy/token.json` with mode 0600. Set `RUNCOMFY_TOKEN` env var to bypass the file in CI / containers. Never echo the token into a prompt, log it, or check it in.