Skip to content
Docs

Installation

This guide walks you through setting up CodeForge from scratch. The process has three steps: run the installer, open the container, and verify. Most of the heavy lifting happens automatically.

Navigate to your project root and run:

Terminal window
npx codeforge-dev

This creates a .devcontainer/ directory containing the full CodeForge configuration — all plugins, features, agents, skills, system prompts, and settings. Your existing project files are not modified.

Terminal window
# Install globally for repeated use
npm install -g codeforge-dev
codeforge-dev
# Pin a specific version
npx codeforge-dev@1.14.0

After running the installer, your project will have:

your-project/
├── .devcontainer/
│ ├── devcontainer.json # Container definition and feature list
│ ├── .env # Setup flags
│ ├── features/ # 22 custom DevContainer features
│ ├── plugins/ # 14 plugins with hooks and scripts
│ └── scripts/ # Setup and verification scripts
├── .codeforge/
│ ├── file-manifest.json # Controls config file deployment
│ ├── config/ # System prompts, settings, rules
│ └── scripts/ # Terminal connection scripts
└── ... (your existing files)

import { Tabs, TabItem } from ‘@astrojs/starlight/components’;

CodeForge uses the open Dev Containers specification. Pick whichever client fits your workflow:

Open your project in VS Code. You should see a notification in the bottom-right corner:

Folder contains a Dev Container configuration file. Reopen folder to develop in a container.

Click Reopen in Container. If you miss the notification, use the Command Palette:

  1. Press Ctrl+Shift+P (or Cmd+Shift+P on macOS)
  2. Type “Dev Containers” and select Dev Containers: Reopen in Container

You can watch the build progress in the “Dev Containers” output channel in the terminal panel.

Install the CLI and build the container:

Terminal window
npm install -g @devcontainers/cli
devcontainer up --workspace-folder .
devcontainer exec --workspace-folder . zsh

For the full CLI workflow — connecting, port forwarding, rebuilding, and tips — see the dedicated DevContainer CLI guide.

  1. Open JetBrains Gateway (or IntelliJ IDEA / PyCharm with the Dev Containers plugin)
  2. Select Dev Containers as the connection type
  3. Point to your project directory containing .devcontainer/
  4. Gateway builds the container and connects the IDE backend automatically
  1. Push your project (with the .devcontainer/ directory) to GitHub
  2. Go to your repository on GitHub and click Code → Codespaces → Create codespace
  3. Codespaces reads your devcontainer.json and builds the environment in the cloud

No local Docker installation required. Port forwarding is handled automatically by Codespaces.

The first container build takes several minutes (typically 3-8 minutes depending on your internet speed and hardware). Here’s what’s happening behind the scenes:

  1. Base image pull — downloads the Python 3.14 DevContainer image from Microsoft’s registry
  2. Feature installation — installs DevContainer features in dependency order: Node.js and uv first (other tools depend on them), then Bun, Claude Code, and all custom features
  3. Post-start setup — deploys configuration files, sets up shell aliases, and configures plugins

Once the container is running and you have a terminal prompt, verify everything installed correctly:

Terminal window
check-setup

This command checks that all tools, runtimes, and plugins are in place. You should see green checkmarks for each component.

For a more detailed view of every installed tool and its version:

Terminal window
cc-tools

This lists every command CodeForge provides, along with its version number or installation status.

A healthy installation shows all of these as available:

CategoryTools
Claude Codeclaude, cc, ccw, ccraw
Session toolsccusage, ccburn, claude-monitor (ccms currently disabled)
Languagesnode, python, bun (rustc opt-in)
Code intelligenceast-grep, tree-sitter, pyright, typescript-language-server
Linters/Formattersruff, biome
Utilitiesgh, docker, git, jq, tmux
  • Python 3.14 — the container’s base image, with uv as the package manager
  • Node.js LTS — installed via nvm, with npm included
  • Rust — latest stable via rustup (opt-in — uncomment in devcontainer.json)
  • Bun — fast JavaScript/TypeScript runtime and package manager
  • Go — available as an opt-in (uncomment in devcontainer.json)
  • GitHub CLI (gh) — repository management, PR creation, issue tracking
  • Docker (Docker-outside-of-Docker) — container operations from inside the DevContainer
  • tmux — terminal multiplexing for parallel Claude Code sessions
  • ccms — search your Claude Code session history (currently disabled — replacement pending)
  • ccusage / ccburn — token usage analysis and burn rate tracking
  • ccstatusline — session status in your terminal prompt
  • claude-monitor — real-time session monitoring
  • claude-dashboard — web-based session analytics on port 7847
  • agent-browser — headless Chromium via Playwright for web interaction
  • ast-grep / tree-sitter — structural code search and parsing

All 14 plugins are installed and active by default. They’re configured through settings.json and managed by the plugin system. See the Plugins Overview for details on each plugin and how to enable or disable them.

CodeForge works out of the box, but everything is customizable:

  • devcontainer.json — container image, features, resource limits, port forwarding
  • .codeforge/config/settings.json — model selection, permissions, enabled plugins, environment variables
  • .codeforge/config/main-system-prompt.md — Claude Code’s behavioral guidelines
  • .codeforge/config/rules/ — rules loaded into every session automatically

See the Customization section for full details on each configuration surface.

To update to the latest version:

Terminal window
npx codeforge-dev@latest

This updates the .devcontainer/ configuration. After updating, rebuild the container:

  • VS Code: Press Ctrl+Shift+P (or Cmd+Shift+P on macOS) and select Dev Containers: Rebuild Container
  • CLI: devcontainer up --workspace-folder . --remove-existing-container

Having trouble with the build, authentication, or missing tools? See the Troubleshooting reference for solutions to common issues including:

  • Container build failures and slow builds
  • npx codeforge-dev installation errors
  • VS Code not showing the DevContainer prompt
  • Claude Code authentication problems
  • Docker permissions on Linux and WSL 2 integration on Windows
  • Port conflicts