CLI to update AI npm tools (Claude, Gemini, Copilot, Codex, Kilo Code)
npm install update-ai-toolsA simple CLI tool to update AI npm tools (Claude, Gemini, Copilot, Codex, Kilo Code) with a single command. No installation required - just use npx!
Run directly with npx - no global installation needed:
``bash`
npx update-ai-toolsor
npx update-ai-tools all
`bash`
npx update-ai-tools claude
npx update-ai-tools gemini
npx update-ai-tools copilot
npx update-ai-tools codex
npx update-ai-tools kilocode
`bash`
npx update-ai-tools check
- Claude - @anthropic-ai/claude-code@google/gemini-cli
- Gemini - @github/copilot
- Copilot - @openai/codex
- Codex - @kilocode/cli
- Kilo Code -
- ✅ No installation required - run with npx
- ✅ Smart version checking - only updates packages when newer versions are available
- ✅ Version comparison - shows local vs remote versions before updating
- ✅ User confirmation - asks permission before installing new packages
- ✅ Smart detection - distinguishes between updates and new installations
- ✅ Update all AI tools at once
- ✅ Update individual tools
- ✅ Check installed versions with update availability
- ✅ Intelligent error handling - detects and fixes npm cache issues automatically
- ✅ Automatic cache cleaning - clears npm cache when corruption is detected
- ✅ Detailed feedback - shows installation summary and troubleshooting tips
- ✅ Simple and intuitive CLI interface
`bashUpdate everything (with smart version checking)
$ npx update-ai-tools
� Checking package versions...
�📦 claude: 1.2.0 → 1.2.3 (update available)
✅ copilot: 3.4.5 (up to date)
📦 gemini: not installed (latest: 2.1.0)
✅ Already up to date (1 packages):
- copilot
🔄 Packages with updates available (1 packages):
- claude (@anthropic-ai/claude-code)
📦 New packages to install (1 packages):
- gemini (@google/gemini-cli)
❓ Do you want to install the new packages? (y/N): y
🚀 Processing 2 package(s)...
✅ All packages installed successfully!
✅ Already up to date (3 packages):
- claude
- copilot
- gemini
🎉 All packages are up to date! No updates needed.
claude: 1.2.0 → 1.2.3 available ⬆️
gemini: 2.0.5 → 2.1.0 available ⬆️
copilot: 3.4.5 ✅
codex: not installed (latest: 1.0.0) ❌
🔄 Packages with updates available (1 packages):
- claude (@anthropic-ai/claude-code)
🚀 Processing 1 package(s)...
✅ claude installed successfully
`
- Node.js (ES modules support)
- npm (comes with Node.js)
MIT © Yanai Edri
1. Fork the repository
2. Create your feature branch (git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature'
3. Commit your changes ()git push origin feature/amazing-feature`)
4. Push to the branch (
5. Open a Pull Request
If you encounter any issues or have suggestions, please open an issue.