Installation
Get CodeContext up and running in less than a minute. Choose your preferred package manager and follow the simple steps below.
Prerequisites
Before you begin, ensure you have:
- Node.js 14.0.0 or higher installed
- npm, yarn, or pnpm package manager
- A git repository (or willingness to initialize one)
Install CodeContext CLI
npm (recommended)
$ npm install -g codecontext
yarn
$ yarn global add codecontext
pnpm
$ pnpm add -g codecontext
Verify Installation
After installation, verify that CodeContext is properly installed by checking the version:
$ codecontext --version
v2.0.0
You should see the CodeContext ASCII banner and version number. If you see a "command not found" error, try:
- Restarting your terminal
- Checking your PATH environment variable
- Using npx:
npx codecontext
No API Keys Required!
Managed AI Service
CodeContext uses a managed AI service - no API keys needed! Just install and start using.
How It Works
- CodeContext handles all AI infrastructure
- No need to manage API keys or quotas
- Automatic model selection based on your plan
- Enterprise-grade security and compliance
Pro tip: FREE plan uses Basic AI model, STARTER/PRO plans use Advanced AI model for better quality.
Next Steps
Great! You now have CodeContext installed and configured. You're ready to generate your first documentation.