-
install nodejs
-
create a folder
bolt.diy.dev
and open the terminal in that folder -
install:
npm install -g pnpm && git clone https://github.com/stackblitz-labs/bolt.diy.git ./ && pnpm install && pnpm run build
-
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.
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
- google gemini for free (and unlimited): https://aistudio.google.com/apikey (any google account needed)
- just the speed is reduced for the free tier
- vscode copilot (GPTs, claude): https://code.visualstudio.com/blogs/2024/12/18/free-github-copilot (github account needed)
- free: 2000 code completions/month, 50 chat requests/month
- I have been told, but do not know for certain, that the key can be viewed/downloaded
set up keys: refer to the screenshots here: https://github.com/stackblitz-labs/bolt.diy?tab=readme-ov-file#configuring-api-keys-and-providers
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
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