Overview
The CodeAlive installer automatically detects your AI coding agents and configures CodeAlive for each one. It supports three installation methods: MCP server (direct tool access), agent skill (workflow guidance), and Claude Code plugin (Claude-specific enhancements).Quick Start
1
Run the Installer
- macOS / Linux
- Windows (PowerShell)
2
Select Components
The interactive wizard will ask what to install:
3
Authenticate
Enter your CodeAlive API key when prompted. Get one at app.codealive.ai.The key is stored securely in your OS credential store — you only need to enter it once.
4
Restart Your Agents
Restart your AI coding agents to pick up the new configuration. The installer will tell you which agents were configured.
Installation Methods
- Interactive (Default)
- CI Mode
- Programmatic
The default wizard walks you through component selection and agent detection:If you already have an API key, pass it to skip the key prompt:
Supported Agents
The installer auto-detects and configures these agents:What Gets Installed
MCP Server
MCP Server
Configures the CodeAlive MCP server (
https://mcp.codealive.ai/api/) in each detected agent’s config file. This gives your agent access to the v3 Tool API set:get_data_sources— List indexed repositories and workspaces, optionally filtered to the current task withquerysemantic_search— Default semantic search across your codebasegrep_search— Default exact text and regex search with line previewsget_repository_ontology— Orient around one repositoryget_file_tree— Inspect repository filesread_file— Read one repository-relative filefetch_artifacts— Fetch full source for identifiersget_artifact_relationships— Expand graph relationships for one artifactget_artifact_query_schema— Inspect metadata query schemaquery_artifact_metadata— Run read-only metadata analyticschat— Stateless slower synthesized codebase Q&A, only when explicitly requested
Agent Skill
Agent Skill
Installs the CodeAlive Context Engine skill via
npx skills add. The skill teaches your agent:- Effective query patterns for search and chat
- Cost-aware tool selection (search vs. chat)
- Multi-step exploration workflows
- Data source management (repos and workspaces)
Claude Code Plugin
Claude Code Plugin
Installs the Claude Code marketplace plugin, which includes:
- The CodeAlive skill (same as above)
- Authentication hooks for automatic API key injection
- A code exploration subagent for guided multi-step analysis
API Key Storage
Your API key is stored securely in the OS credential store:
The key is stored once and shared across all agents on the same machine.
Command Reference
Troubleshooting
Installer not detecting my agent
Installer not detecting my agent
The installer looks for known config file locations. If your agent uses a non-standard path:
- Run
npx @codealive/installer --debugto see which paths are checked - If your agent isn’t listed, use the manual setup guides instead
API key not saved
API key not saved
If the credential store fails:
- Set the environment variable manually:
export CODEALIVE_API_KEY="your_key" - On macOS, ensure Keychain Access is unlocked
- On Linux, ensure
secret-toolis installed (sudo apt install libsecret-tools)
Permission errors on Windows
Permission errors on Windows
Run PowerShell as Administrator, or use the Node.js method:
Node.js not installed
Node.js not installed
The installer requires Node.js 18+. Install it from nodejs.org or use the Windows PowerShell one-liner which doesn’t require Node.js.
Related Resources
Quickstart
Get started with CodeAlive in minutes
MCP Integration
Manual MCP setup for all agents
Agent Skills
Learn about skills and plugins
GitHub
Installer source code