Files
wehub-resource-sync 9b395f5cc3
Build Chrome Extension / build (push) Waiting to run
Trigger Website Rebuild (Docs Updated) / dispatch (push) Waiting to run
E2E Headed Chrome / e2e-headed (macos-15) (push) Has been cancelled
E2E Headed Chrome / e2e-headed (ubuntu-latest) (push) Has been cancelled
E2E Headed Chrome / e2e-headed (windows-latest) (push) Has been cancelled
CI / build (macos-latest) (push) Has been cancelled
CI / build (ubuntu-latest) (push) Has been cancelled
CI / build (windows-latest) (push) Has been cancelled
CI / unit-test (push) Has been cancelled
CI / bun-test (push) Has been cancelled
CI / adapter-test (push) Has been cancelled
CI / smoke-test (macos-latest) (push) Has been cancelled
CI / smoke-test (ubuntu-latest) (push) Has been cancelled
Security Audit / audit (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:39:48 +08:00

1.1 KiB

安装

系统要求

  • Node.js: >= 21.0.0,或 Bun >= 1.0
  • Chrome 已运行并登录目标网站(浏览器命令需要)

通过 npm 安装(推荐)

npm install -g @jackwener/opencli

从源码安装

git clone git@github.com:jackwener/opencli.git
cd opencli
npm install
npm run build
npm link
opencli list

更新

npm install -g @jackwener/opencli@latest

# 如果你在用打包发布的 OpenCLI skills,也一起刷新
npx skills add jackwener/opencli

如果你只装了部分 skill,也可以只刷新自己在用的:

npx skills add jackwener/opencli --skill opencli-adapter-author
npx skills add jackwener/opencli --skill opencli-autofix
npx skills add jackwener/opencli --skill opencli-browser
npx skills add jackwener/opencli --skill opencli-browser-sitemap
npx skills add jackwener/opencli --skill opencli-sitemap-author
npx skills add jackwener/opencli --skill opencli-usage
npx skills add jackwener/opencli --skill smart-search

验证安装

opencli --version
opencli list
opencli doctor