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.
Step 1: Install CodeForge
Section titled “Step 1: Install CodeForge”Navigate to your project root and run:
npx codeforge-devThis 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.
Alternative Installation Methods
Section titled “Alternative Installation Methods”# Install globally for repeated usenpm install -g codeforge-devcodeforge-dev
# Pin a specific versionnpx codeforge-dev@1.14.0What the Installer Creates
Section titled “What the Installer Creates”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)Step 2: Open in a DevContainer Client
Section titled “Step 2: Open in a DevContainer Client”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:
- Press
Ctrl+Shift+P(orCmd+Shift+Pon macOS) - 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:
npm install -g @devcontainers/clidevcontainer up --workspace-folder .devcontainer exec --workspace-folder . zshFor the full CLI workflow — connecting, port forwarding, rebuilding, and tips — see the dedicated DevContainer CLI guide.
- Open JetBrains Gateway (or IntelliJ IDEA / PyCharm with the Dev Containers plugin)
- Select Dev Containers as the connection type
- Point to your project directory containing
.devcontainer/ - Gateway builds the container and connects the IDE backend automatically
- Push your project (with the
.devcontainer/directory) to GitHub - Go to your repository on GitHub and click Code → Codespaces → Create codespace
- Codespaces reads your
devcontainer.jsonand builds the environment in the cloud
No local Docker installation required. Port forwarding is handled automatically by Codespaces.
What Happens During the First Build
Section titled “What Happens During the First Build”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:
- Base image pull — downloads the Python 3.14 DevContainer image from Microsoft’s registry
- 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
- Post-start setup — deploys configuration files, sets up shell aliases, and configures plugins
Step 3: Verify Installation
Section titled “Step 3: Verify Installation”Once the container is running and you have a terminal prompt, verify everything installed correctly:
check-setupThis 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:
cc-toolsThis lists every command CodeForge provides, along with its version number or installation status.
Expected Output
Section titled “Expected Output”A healthy installation shows all of these as available:
| Category | Tools |
|---|---|
| Claude Code | claude, cc, ccw, ccraw |
| Session tools | ccusage, ccburn, claude-monitor (ccms currently disabled) |
| Languages | node, python, bun (rustc opt-in) |
| Code intelligence | ast-grep, tree-sitter, pyright, typescript-language-server |
| Linters/Formatters | ruff, biome |
| Utilities | gh, docker, git, jq, tmux |
What Gets Installed
Section titled “What Gets Installed”Language Runtimes
Section titled “Language Runtimes”- Python 3.14 — the container’s base image, with
uvas 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)
CLI Tools
Section titled “CLI Tools”- 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
Plugins
Section titled “Plugins”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.
Configuration
Section titled “Configuration”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.
Updating CodeForge
Section titled “Updating CodeForge”To update to the latest version:
npx codeforge-dev@latestThis updates the .devcontainer/ configuration. After updating, rebuild the container:
- VS Code: Press
Ctrl+Shift+P(orCmd+Shift+Pon macOS) and select Dev Containers: Rebuild Container - CLI:
devcontainer up --workspace-folder . --remove-existing-container
Troubleshooting
Section titled “Troubleshooting”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-devinstallation errors- VS Code not showing the DevContainer prompt
- Claude Code authentication problems
- Docker permissions on Linux and WSL 2 integration on Windows
- Port conflicts
Next Steps
Section titled “Next Steps”- DevContainer CLI — terminal-only workflow without VS Code
- First Session — start using CodeForge with Claude Code
- Configuration — customize settings
- Plugins Overview — understand what each plugin does