This repo is deprecated; please visit the latest repo here
Note: macOS is currently the only supported OS.
-
Clone the repository
-
Create a conda environment and install Python dependencies:
conda create -n TDD python=3.12.11 conda activate TDD pip install -r requirements.txt
-
Install Playwright:
playwright install chromium --with-deps
-
Install Node.js
- Visit the Node.js Download Page
- Download the "LTS" (Long Term Support) version
- Run the installer, accepting the default settings
- Verify Node.js is properly installed:
- Open Terminal
- Type this command:
echo $PATH
- Look for
/usr/local/binin the output
-
Install Package Manager (pnpm):
cd bolt.diy npm install -g pnpmIf you some permission errors on this step, you may try sudo:
cd bolt.diy sudo npm install -g pnpm -
Install Project Dependencies:
pnpm install
Set API keys and base URLs in the bolt.diy/.env.local file.
- If you want to use
ChatGPT-4.1, you need to set the following environment variables:OPENAI_API_KEY - If you want to use
Claude-4-Sonnet, you need to set the following environment variables:ANTHROPIC_API_KEY - If you want to use
Qwen2.5-VLorDeepseek-V3.1, you need to set the following environment variables:TOGETHER_API_BASE_URL,TOGETHER_API_KEY
-
Start the development agent server:
cd bolt.diy pnpm run dev- Open the application by accessing the URL shown in the terminal with a local browser
- It's strongly suggested to use Google Chrome Canary to access the application.
- You must keep the browser window open throughout development.
- Refresh if you encounter a blank page.
-
Start the client:
cd ../client python app.pyThen, access the client webpage with your browser by accessing the URL shown in the terminal.
