Files
jackwener__opencli/docs/guide/installation.md
jackwener f94458bba3 fix: project hygiene — docs, lint, daemon restart, code fence
- Update Node version requirement from >= 20 to >= 21 in 7 doc files
  (README, README.zh-CN, installation guides, troubleshooting)
- Update adapter count from 79+ to 87+ in READMEs
- Remove duplicate `lint` script (identical to `typecheck`)
- Fix TESTING.md CI matrix: Node ['22'] instead of ['20', '22']
- Fix autofix SKILL.md code fence escaping (\``` → ~~~)
- Add daemon restart to postinstall so updated adapters are picked up
- Fix preuninstall to respect OPENCLI_DAEMON_PORT env var
2026-04-11 00:36:40 +08:00

733 B

Installation

Requirements

  • Node.js: >= 21.0.0
  • Chrome running and logged into the target site (for browser commands)
npm install -g @jackwener/opencli

Install from Source

git clone git@github.com:jackwener/opencli.git
cd opencli
npm install
npm run build
npm link      # Link binary globally
opencli list  # Now you can use it anywhere!

Update

npm install -g @jackwener/opencli@latest

# If you use the packaged OpenCLI skills, refresh them too
npx skills add jackwener/opencli

Verify Installation

opencli --version   # Check version
opencli list        # List all commands
opencli doctor      # Diagnose connectivity