mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-07-09 17:29:12 +00:00
* docs: add Homebrew installation instructions Add Homebrew as an installation option for macOS/Linux users in both English and Chinese READMEs. Closes #130 * feat(cli): detect Homebrew installs and use brew upgrade for updates When kimi-code is installed via Homebrew, the update system now detects the installation source and uses 'brew upgrade kimi-code' instead of falling back to 'npm install -g'. This prevents duplicate installations when Homebrew users receive update prompts. * chore: add changeset for Homebrew update detection * fix(cli): tighten Homebrew detection and disable auto-update - Only match /cellar/ path segment (not /homebrew/) to avoid false positives on Apple Silicon where npm global installs live under /opt/homebrew/lib/node_modules/ - Disable background auto-update for Homebrew: brew upgrade may mutate dependents silently and the formula can lag behind CDN releases * fix(cli): add homebrew to InstallSource Zod schema Keeps the persistence schema in sync with the TypeScript type. Currently harmless since Homebrew auto-install is disabled, but prevents a silent state reset if it is ever enabled later. --------- Co-authored-by: liruifengv <liruifeng1024@gmail.com> |
||
|---|---|---|
| .. | ||
| kimi-code | ||
| vis | ||