Back to Documentation

Installation

Prerequisites

  • Node.js v18 or later
  • pnpm v8 or later (recommended package manager)
  • Git for cloning the repository
  • An AI provider API key (OpenAI, Anthropic, Google, etc.)

Install pnpm

npm install -g pnpm

Clone & Install

git clone https://github.com/stackblitz-labs/bolt.diy.git
cd bolt.diy
pnpm install

Configure Environment

Copy the example environment file and add your API keys:

cp .env.example .env.local

Edit .env.local and add your API keys. You can also configure keys through the Settings panel in the UI.

Build & Run

# Production build + serve
pnpm run build
pnpm run start
# Or development mode with hot reload
pnpm run dev

Multi-Agent Setup

To run all 3 specialized agents (Frontend, Backend, Fullstack) simultaneously:

bash start-agents.sh start
5174
Frontend Agent
5175
Backend Agent
5176
Fullstack Agent

Docker Setup

docker build -t mxbolt .
docker compose -f docker-compose.agents.yaml up -d
Powered by Miracuves
Powered by Miracuves