Installation
This guide will help you install ClaudeKit and set up your development environment. You can choose between manual setup or using the ClaudeKit CLI.
Prerequisites
Before installing ClaudeKit, ensure you have:
- Node.js v18 or higher
- npm v10 or higher (or bun, pnpm, yarn)
- Git for version control
- Claude Code CLI installed (
claude) - Google Gemini API Key from Google AI Studio
Method 1: Manual Setup
This method gives you full control over the installation process.
Step 1: Copy ClaudeKit Files
Copy all directories and files from the claudekit-engineer repo to your project:
# Copy these files and directories:
.claude/*
docs/*
plans/*
CLAUDE.md
Step 2: Configure Gemini API Key (Optional)
WHY? ClaudeKit utilized Human MCP to analyze images and videos since Gemini models have better vision capabilities. But Anthropic already released Agent Skills which is much better for context engineering, so we already converted all tools of Human MCP to Agent Skills.
Notes: Gemini API have a pretty generous free requests limit at the moment.
- Go to Google AI Studio and grab your API Key
- Copy
.claude/skills/.env.exampleto.claude/skills/.envand paste the key into theGEMINI_API_KEYenvironment variable
Now you’re good to go.
Step 3: Start Claude Code
Start Claude Code in your working project:
# Standard mode
claude
# Skip permissions (use with caution)
claude --dangerously-skip-permissions
Step 4: Initialize Documentation
Run the /docs:init command to scan and create specs for your project:
/docs:init
This generates markdown files in the docs directory:
codebase-summary.mdcode-standards.mdsystem-architecture.md- And more…
Now your project is ready for development!
Method 2: ClaudeKit CLI
The CLI provides an automated way to set up ClaudeKit projects.
Installation
Install ClaudeKit CLI globally:
# npm
npm install -g claudekit-cli
# bun
bun add -g claudekit-cli
# Verify installation
ck --version
Create a New Project
# Interactive mode
ck new
# With options
ck new --dir my-project --kit engineer
# Specific version
ck new --kit engineer --version v1.0.0
Update Existing Project
# Interactive mode
ck update
# With options
ck update --kit engineer
# Specific version
ck update --kit engineer --version v1.0.0
Authentication
The CLI requires a GitHub Personal Access Token (PAT) to download releases from private repositories (claudekit-engineer and claudekit-marketing).
Authentication Fallback Chain:
- GitHub CLI: Uses
gh auth tokenif GitHub CLI is installed and authenticated - Environment Variables: Checks
GITHUB_TOKENorGH_TOKEN - OS Keychain: Retrieves stored token from system keychain
- User Prompt: Prompts for token input and offers to save it securely
Creating a Personal Access Token:
- Go to GitHub Settings → Developer settings → Personal access tokens → Tokens (classic)
- Generate new token with
reposcope (for private repositories) - Copy the token
Setting Token via Environment Variable:
export GITHUB_TOKEN=ghp_your_token_here
Verify Installation
After installation (either method), verify everything is set up correctly:
# Check if Claude Code is available
claude --version
# Check if .claude directory exists
ls -la .claude/
Update ClaudeKit
Keep ClaudeKit up to date:
# Using CLI
ck update
# Or manually pull latest changes from claudekit-engineer repo
Exclude specific files during update:
# Don't overwrite CLAUDE.md
ck update --exclude CLAUDE.md
Troubleshooting
Permission Errors
On macOS/Linux, you may need sudo:
sudo npm install -g claudekit-cli
Or configure npm to use a different directory:
mkdir ~/.npm-global
npm config set prefix '~/.npm-global'
export PATH=~/.npm-global/bin:$PATH
Claude Code Not Found
If claude command is not found:
- Install Claude Code CLI from claude.ai/code
- Restart your terminal
- Verify with
claude --version
GitHub Authentication Failed
If CLI can’t authenticate:
- Install GitHub CLI:
brew install gh(macOS) or see cli.github.com - Authenticate:
gh auth login - Verify:
gh auth status - Or set environment variable:
export GITHUB_TOKEN=your_token
Next Steps
Now that ClaudeKit is installed, proceed to:
- Quick Start Guide - Build your first project
- CLAUDE.md Explained - Understand the configuration file
- Workflows - Learn about development workflows