Skip to content

Instantly share code, notes, and snippets.

@leex279
Created December 24, 2024 00:15
Show Gist options
  • Select an option

  • Save leex279/832246dc64f078162de1bf00997238a9 to your computer and use it in GitHub Desktop.

Select an option

Save leex279/832246dc64f078162de1bf00997238a9 to your computer and use it in GitHub Desktop.

Checklist

Pre-Requirements

Install Git from https://git-scm.com

Install Node.js LTS from https://nodejs.org

Verify node/npm installation:

node --version
npm --version

Install pnpm globally using:

npm install -g pnpm

Verify pnpm Installation:

pnpm --version

Install Microsoft Visual C++ Redistributable from this link

Installation

Ensure port 5173 (bolt.diy) is free (not in use). Use this command in cmd or PowerShell:

netstat -ano | findstr :5173

If there is no output, it is correct. If you see any output/list, then the port is in use.

  • Make sure you close the other applications running on these ports and try again.
  • Alternatively, change the port of bolt.diy (TODO).

Clone the repository:

git clone -b stable https://github.com/stackblitz-labs/bolt.diy.git

Alternative: Download the release (without git) from https://github.com/stackblitz-labs/bolt.diy/tags

Navigate to the project directory:

cd bolt.diy

Rename .env.example to .env.local:

copy .env.example .env.local

Edit .env.local and add your API keys for LLMs (optional): You can set your API keys here or you can temporarily do it later in the UI.

Install dependencies:

pnpm install

With the terminal opened in your bolt.diy directory, run the install command.

Start the development server:

pnpm run dev

Open the browser and navigate to the URL shown in the terminal (typically http://localhost:5173).

Create and Use Google API Key

Build an example Webapp with Gemini 2.0 Flash:

Build a simple landing page for bolt.diy.

Troubleshooting

Documentation available at https://stackblitz-labs.github.io/bolt.diy/

Thinktank Community available at https://thinktank.ottomator.ai/

@mobileappmogul
Copy link
Copy Markdown

Worked like a charm sir. Thank you very much

@jnzaba
Copy link
Copy Markdown

jnzaba commented Feb 2, 2026

Tried severally always leads to this: warn Data fetching is changing to a single fetch in React Router v7
┃ You can use the v3_singleFetch future flag to opt-in early.
┃ -> https://remix.run/docs/en/2.13.1/start/future-flags#v3_singleFetch

Error: write EOF
at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:87:19) {
errno: -4095,
code: 'EOF',
syscall: 'write'
}
 ELIFECYCLE  Command failed with exit code 1. (Any Updates please?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment