Guide

How to run a Google AI Studio app on your own computer

Apps you build in Google AI Studio can be downloaded and run on your own computer, where you can keep building with any AI assistant. About 20 minutes.

1. Download your app

In AI Studio, open your app and download the code as a ZIP (or connect GitHub from the GitHub tab in Settings). Unzip it. Google's page: Build apps in Google AI Studio.

2. Install the tools

Open the unzipped folder in VS Code: File, then Open Folder.

3. Add your Gemini key

Your app talks to Gemini, so it needs your own API key in a variable called GEMINI_API_KEY. Get a key from Google AI Studio, then check the README file in your project: it says which file to put the key in (often .env.local). Keep that file private.

4. Install and start the app

npm install
npm run dev

Open the local address it shows. If the README lists different commands, use those.