Skip to content

Instantly share code, notes, and snippets.

@BananaAcid
Last active April 8, 2025 23:59
Show Gist options
  • Save BananaAcid/6f1055fde950bf3fe5fb24b308dfaaa8 to your computer and use it in GitHub Desktop.
Save BananaAcid/6f1055fde950bf3fe5fb24b308dfaaa8 to your computer and use it in GitHub Desktop.
BOLT.diy installation

BOLT.diy installation

image

install

  1. install nodejs

  2. create a folder bolt.diy.dev and open the terminal in that folder

  3. install: npm install -g pnpm && git clone https://github.com/stackblitz-labs/bolt.diy.git ./ && pnpm install && pnpm run build

  4. start: pnpm start

Note:

You could create a start file start.cmd for windows, and start.sh for MacOS/Linux with:

pnpm start

in it, and add a shortcut of it to your desktop.

config

You can use a local ollama (just install the software, you can click a model to use within BOLT, preferably gemma3:12b or deepseek )

Get an api key for

set up keys: refer to the screenshots here: https://github.com/stackblitz-labs/bolt.diy?tab=readme-ov-file#configuring-api-keys-and-providers

API key as env

A list of environment keys is here: https://github.com/stackblitz-labs/bolt.diy/blob/main/.env.example

You can set it in your start script:

Windows

set GOOGLE_GENERATIVE_AI_API_KEY=asdfasdfasfasfasdf
pnpm start

MacOS/Linux

export GOOGLE_GENERATIVE_AI_API_KEY=asdfasdfasfasfasdf
pnpm start

Btw, within VSCode ...

There is also Windsurf Plugin (formaly Codeium), with their own LLM for free.

  • Code completion, inline explain, code generation.
  • Simple to go

This 2 combine Project generation + Code completion:

... you can use Roo Code (open source) ... and select options to use Ollama or Gemini or any other LLM provider.

  • Project + File generation, explain in separate window (like Windsurf Editor, Cursor, ...)
  • MCP Server support

Also Continue (open source, https://www.continue.dev/) ... The abilities are separate tools in vscode.

  • Code completion
  • MCP Server support
  • Presets for project types ('Assistants')

MCP: https://github.com/punkpeye/awesome-mcp-servers?tab=readme-ov-file#-aggregators

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