A CLI installer for Codr, the AI development assistant. Handles installation, configuration, and updates with intelligent dependency management.
# Install globally
npm install -g codrup
# Set up Codr
codrup --setup
# Start using Codr
codr- Automated Installation: Downloads and configures Codr from GitHub releases
- Multi-Provider Support: Configure Claude, Gemini, OpenAI, or DeepSeek
- Smart Updates: Automatic version checking with atomic file operations
- Global Access: Install once, use anywhere in your terminal
- Safe Operations: Built-in error recovery and automatic cleanup
Install and configure Codr for the first time:
codrup --setupUpdate LLM provider or API keys:
codrup --configUpdate to the latest Codr version:
codrup --updateRemove Codr installation completely:
codrup --reset- Node.js 14.x or higher
- npm 6.x or higher
- Internet connection for downloads
Codrup manages Codr installations by:
- Downloading versioned releases from GitHub
- Storing installation metadata at
~/.codr/.metadata.json - Generating environment configuration with your API keys
- Linking Codr globally via npm
All operations use atomic file replacements and include automatic rollback on failure.
Command not found after installation
- Restart your terminal
- Check npm global bin path:
npm config get prefix
Update fails
- Verify installation exists:
ls ~/.codr - Try reset and reinstall:
codrup --resetthencodrup --setup
Configuration issues
- Run
codrup --configto reconfigure - Check
.envfile at your installation directory
- Codr - AI development assistant
Apache License 2.0
Questions? Open an issue on GitHub