Overview
Codaph can be installed in three ways:- npm (Global) - Recommended for most users
- npx (No Install) - Quick testing without global install
- From Source - For contributors and local development
Node.js requirement: Codaph requires Node.js 18 or higher.
Method 1: npm (Global Install)
Install Codaph globally to use thecodaph command anywhere:
Uninstall
Uninstall
Advantages
- Fast command access:
codaphis on yourPATH - Auto-updates: Use
npm update -gto stay current - Works everywhere: Available in all directories
Use When
- You use Codaph regularly across multiple projects
- You want the fastest command execution
- You’re comfortable with global npm packages
Method 2: npx (No Install)
Run Codaph on-demand without installing:Advantages
- No global install: Keeps your system clean
- Always latest: Fetches newest version each run
- Easy testing: Try Codaph without commitment
Use When
- You’re evaluating Codaph before committing
- You prefer not to install global packages
- You want to ensure latest version every time
MCP Setup with npx
When usingnpx, adjust MCP configuration:
Method 3: From Source (Development)
For contributors or local development:Development Commands
Advantages
- Full control: Modify source code locally
- Latest changes: Use unreleased features
- Debugging: Add console.log and inspect behavior
- Contributing: Required for pull requests
Use When
- You’re contributing to Codaph
- You need bleeding-edge features
- You’re debugging issues or testing fixes
- You want to understand the codebase
Verify Installation
After installation, verify Codaph is working:codaph --version:
Version numbers will vary. The important thing is seeing a version string without errors.
System Requirements
- Required
- Recommended
- Optional
- Node.js 18 or higher
- Git (for auto-detection of project metadata)
- Terminal with ANSI color support (for TUI)
Environment Setup
After installation, configure your environment:Get a Mubit API key
Create one at console.mubit.ai
Configuration Files
Codaph stores configuration in these locations:Global Settings
Global Settings
Location:
~/.codaph/settings.jsonStores:- Mubit API key
- OpenAI API key
- Mubit actor ID
- Per-project settings
Project Registry
Project Registry
Location:
~/.codaph/registry.jsonTracks initialized projects:Project Configuration
Project Configuration
Location:
<project>/.codaph/project.jsonPer-project settings:MCP Template
MCP Template
Location:
<project>/.codaph/mcp/claude-code.jsonClaude Code MCP configuration template:Upgrade Codaph
Keep Codaph up to date:- npm
- npx
- Source
Troubleshooting
Command not found: codaph
Command not found: codaph
If
codaph is not on your PATH after npm install -g:-
Check npm global bin location:
-
Add to PATH:
-
Or use npx:
Permission denied
Permission denied
On Linux/macOS, you may need sudo:Or configure npm to install globally without sudo:
Node version too old
Node version too old
Bun installation fails
Bun installation fails
If Bun install fails:
-
Try the standalone installer:
-
Or use Homebrew (macOS):
- Or download from bun.sh/download
Uninstall Codaph
- npm
- npx
- Source
Next Steps
After installation:Quickstart Guide
Get your first project set up in minutes.
CLI Overview
Learn about available commands and flags.
MCP Setup
Connect Claude Code via MCP.
Troubleshooting
Solutions to common problems.