Projects and files
Work with projects and files in Bolt.
Create, edit, and delete projects
To create a new Bolt project, start a new chat: enter your prompt in the Bolt homepage.
You can view your existing projects by hovering over the left side of the screen or clicking Open sidebar . This opens the Bolt menu. Click a previous chat to open it and continue working on it.
To delete a project, you need to both delete the chat, and deleted the associated project in StackBlitz:
- Delete the chat:
- Hover over the left side of the screen or click Open sidebar
to view the chat list.
- Hover over the chat you want to delete.
- Click Delete
.
- Hover over the left side of the screen or click Open sidebar
- Delete the project in StackBlitz:
- Log in to your StackBlitz account.
- Go to Collections > Bolt collection.
- Click the menu icon on the project you want to delete.
- Click Delete project.
Create, edit, and delete files
By default, your Bolt project shows your chat with the AI, and a preview of the app you’re building. If you want to directly edit your project files, you can switch from Preview to Code view. This is useful if you:
- Know exactly what needs changing, and want to make quick edits yourself rather than asking the AI.
- Need to troubleshoot.
- Want to explore your code and content.
To work with files in your Bolt project, switch to Code view using the Code Preview toggle.
Open a file for editing by clicking on it. Bolt opens the file in the editor. Once you’ve made your changes, click Save or press Ctrl + s
. Bolt automatically builds your changes. Switch to Preview mode to view them.
Create a new file: right-click in the Files list, then select New file….
Delete a file: right-click on the file you want to delete, then select Delete.
Download projects
To download a project to your computer:
In your project, click Export > Download. Bolt downloads a .zip
of your project.
Duplicate projects
Duplicating your project creates a fresh copy of the project in Bolt. It keeps all code and settings, apart from GitHub and Netlify integration settings.
Duplicating your project clears your chat history.
To duplicate a project, open it in Bolt, then:
- Open the menu
next to the project name.
- Click Duplicate.
- If you have integrations active in the project, Bolt displays a dialog that confirms which integration settings it will copy. Click Duplicate in the dialog to continue.
- Bolt creates a new copy of the project, with an empty chat history.
If you want some information from your chat history to be available in the new project, generate a summary in the old project and upload it in the new project.
Get the AI to summarize your chat history in your old project:
- Switch to Discussion Mode: in the Bolt prompt box in your project, click Toggle
- Prompt the AI:
Please generate a short summary of our conversation so far
. - Check that the AI response is accurate and contains everything you need.
- Copy the response out of Bolt and save it as a
.txt
or.md
file.
In your new project, add the chat summary:
- Switch to Discussion Mode: in the Bolt prompt box in your project, click Toggle
- Click Upload files
- Provide a prompt such as:
- Press
Enter
to upload the file and your prompt.
Continue in StackBlitz
If you decide you want to stop working with the AI, you can continue working on your project in StackBlitz’s IDE. StackBlitz is Bolt’s parent company, and accounts are automatically linked.
To open your Bolt project in the StackBlitz web IDE:
In your project, click Export > Open in StackBlitz.
Learn more about the StackBlitz IDE in StackBlitz’s documentation.
Open a StackBlitz project in Bolt
There are two ways to open StackBlitz projects in Bolt:
- Use the Open in Bolt button located in the upper-left corner of any StackBlitz project.
- Manually enter the following URL pattern in your browser:
https://bolt.new/~/STACKBLITZ_PROJECT_SLUG_HERE