Claude Code Single Binary
Description
Build scripts for compiling Claude Code into a single-file executable for Mac, Linux, and Windows with fully bundled vendor dependencies.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
Claude Code Single-Binary Executables
This document provides comprehensive information about building Claude Code as single-binary executables for multiple platforms using Bun's native compilation and embedding features.
Table of Contents
- Overview
- Technical Architecture
- Build Prerequisites
- Building Executables
- Distribution Matrix
- Platform-Specific Notes
- Troubleshooting
- Windows-Specific Fixes
- Technical Details
- Contributing
- License
Overview
Claude Code can be compiled into standalone executables that bundle the entire application, runtime, and all assets into a single binary file. This eliminates the need for users to install Node.js, Bun, or any dependencies.
The source package is fetched from the official npm registry: [`@anthropic-ai/claude-code`](https://www.npmjs.com/package/@anthropic-ai/claude-code)
Key Features
- Zero Dependencies: Single executable file with no external requirements
- Cross-Platform: Build for Linux, macOS, and Windows from any platform
- Optimized: Includes minification, sourcemaps, and optional bytecode compilation
- Embedded Assets: All resources (WASM files, native modules) are embedded directly
- Multiple Variants: Support for modern CPUs, older hardware, and different libc implementations
Technical Architecture
Build Process Overview
graph TD
A[Original CLI Source] --> B[prepare-bundle-native.js]
B --> C[Modified CLI with Embedded Assets]
C --> D[Bun Build --compile]
D --> E[Single Binary Exec
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11