A sophisticated CLI application for interacting with Claude AI models and managing development workflows.
Claude Code is a TypeScript-based command-line interface that provides powerful tools for developers to interact with Claude AI models, manage sessions, handle authentication, and automate various development tasks.
- AI Integration: Seamless interaction with Claude AI models
- Session Management: Create, manage, and resume coding sessions
- Authentication: OAuth and API key management
- Plugin System: Extensible architecture with plugin support
- Context Management: Handle project context and suggestions
- Analytics: GrowthBook integration for feature flagging and analytics
- Cross-platform: Works on macOS, Linux, and Windows
# Clone the repository
git clone https://github.com/edengilbertus/claude-code.git
cd claude-code
# Install dependencies
bun install
# Build the project
bun run build# Start the CLI
bun run start
# Common commands
claude-code login # Authenticate with your account
claude-code session # Manage coding sessions
claude-code plugin # Manage plugins
claude-code config # Configure settingsThe application is built with:
- TypeScript/React: Core UI and logic
- Commander.js: CLI argument parsing
- Ink: React-based CLI components
- Lodash: Utility functions
- GrowthBook: Feature flagging and analytics
main.tsx: Entry point and CLI setupcommands/: Command implementationsservices/: Core services (API, analytics, etc.)tools/: AI tools and integrationsutils/: Utility functions and helpers
# Run in development mode
bun run dev
# Run tests
bun test
# Build for production
bun run buildConfiguration files are stored in ~/.claude/ directory:
config.json: Main configurationhistory.jsonl: Session historyplugins/: Plugin configurations
MIT License - see LICENSE file for details.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
For issues and feature requests, please use the GitHub issue tracker.