Kyle Greenan

Easy AI with Bolt.diy

06 February 2025

image of the Bolt interface


I’m excited to share my latest exploration into the world of AI with bolt.diy, an open-source platform that’s revolutionizing how we build applications using AI! 🌟

With bolt.diy, you can prompt, run, edit, and deploy full-stack web applications using a variety of LLMs (Large Language Models) like OpenAI, Anthropic, Ollama, and more. It’s a community-driven effort that makes AI development accessible and flexible.

Whether you’re a seasoned developer or just starting out, bolt.diy offers a seamless way to integrate AI into your projects.


Try it on macOS

All of the steps in the list below require the use of Terminal.app. (don’t copy the $)


## Install Homebrew
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

## Install Git
$ brew install git

## Install node
$ brew install node

## Clone bolt.diy github repo
$ git clone https://github.com/stackblitz-labs/bolt.diy.git

## Go into the bolt directory
$ cd bolt.diy

## Install pnpm
$ npm install -g pnpm

## Install Dependencies
$ pnpm install

## Copy the example env file to a new one called .env.local
$ cp .env.example .env.local

## Run the Application
$ pnpm run dev

That was easy

If all goes well, you should be able to open a web browser and navigate to http://localhost:5173. You should see the Bolt.DIY page, titled “Where Ideas Begin.”

Before you start your prompt, you will need to configure your AI model. Bolt makes it easy to select and add your model API key.

For this post I am using Google’s AI Studio. They offer a free plan using the Gemini API.

After creating your key, simply copy and paste it into Bolt, and you are ready to begin!

Have fun and bring your design ideas to life! 🌟