Skip to main content
RapidDev - Software Development Agency
bolt-ai-integrationsDevelopment Workflow

How to Integrate Bolt.new with Sublime Text

Export your Bolt.new project as a ZIP or clone it from GitHub, then open the folder in Sublime Text for lightweight, fast editing. Install essential packages via Package Control (TypeScript, ESLint, Tailwind CSS autocomplete) and run the dev server in a separate terminal. Sublime Text is an excellent choice for quick targeted edits to Bolt-generated code when you want a fast, minimal editor without VS Code's memory overhead.

What you'll learn

  • How to export a Bolt project and open it in Sublime Text as a project folder
  • Which Sublime Text packages to install for TypeScript, Tailwind CSS, and ESLint support
  • How to configure Sublime Text build systems to run the Bolt project's dev server
  • How to use Sublime Text's multi-cursor and goto-anything features for efficient Bolt code editing
  • How to sync local Sublime Text edits back to Bolt via GitHub
Book a free consultation
4.9Clutch rating
600+Happy partners
17+Countries served
190+Team members
Beginner17 min read10 minutesDevOpsApril 2026RapidDev Engineering Team
TL;DR

Export your Bolt.new project as a ZIP or clone it from GitHub, then open the folder in Sublime Text for lightweight, fast editing. Install essential packages via Package Control (TypeScript, ESLint, Tailwind CSS autocomplete) and run the dev server in a separate terminal. Sublime Text is an excellent choice for quick targeted edits to Bolt-generated code when you want a fast, minimal editor without VS Code's memory overhead.

Fast Local Development of Bolt.new Projects with Sublime Text

Sublime Text has maintained a loyal following for over a decade by doing one thing exceptionally well: being fast. While VS Code has become the dominant code editor with its rich extension ecosystem and integrated terminal, Sublime Text opens in milliseconds, responds instantly to keystrokes even on large files, and uses significantly less RAM. For developers who spend most of their time making quick targeted edits — rather than running complex debuggers or advanced language server features — Sublime Text remains a compelling choice.

When it comes to Bolt.new projects, Sublime Text fits a specific part of the workflow. You use Bolt for AI-assisted feature generation — building components, integrating APIs, designing layouts. Then you export the project and open it in Sublime Text for code review, style adjustments, content editing, and any changes that are easier to make in a local editor than through chat prompts. Sublime Text's multi-cursor editing is particularly useful here: you can select the same text across hundreds of lines simultaneously (Ctrl+D for sequential selection, Alt+F3 for all occurrences), making global renaming and repetitive edits nearly instantaneous.

The key difference from VS Code when working with Bolt code: Sublime Text does not have an integrated terminal, so you run the dev server in a separate terminal window. It also does not have native Git UI — Git operations happen in the terminal or a separate Git client. These are not limitations for Bolt workflows, since Bolt itself handles most Git operations through its web-based Git panel, and running a separate terminal alongside Sublime is a familiar pattern for many developers.

Integration method

Development Workflow

Sublime Text has no direct integration with Bolt.new's WebContainer. The workflow is a post-export process: download your Bolt project as a ZIP or clone from GitHub, open the project folder in Sublime Text, install relevant packages for TypeScript and Tailwind support, and run the dev server in a separate terminal window. Sublime Text's strength is speed — it opens projects and files significantly faster than VS Code, making it ideal for quick reviews and targeted edits to Bolt-generated code.

Prerequisites

  • A Bolt.new account with a project ready to export
  • Sublime Text 4 installed (download at sublimetext.com — the current version in 2026, with free unlimited trial)
  • Package Control installed in Sublime Text (the package manager, installed via Tools > Install Package Control or from packagecontrol.io)
  • Node.js 18 or later installed locally to run the exported project's dev server
  • A terminal application (Terminal on macOS, Windows Terminal, or your preferred shell) for running npm commands

Step-by-step guide

1

Export Your Bolt Project and Open It in Sublime Text

Bolt.new generates code in a browser-based WebContainer environment with no direct connection to local editors. To work on Bolt code in Sublime Text, you need to get the project files onto your local machine first. There are two methods: ZIP export and GitHub clone. ZIP export (faster for a one-time export): click the download icon in Bolt's toolbar to download the project as a ZIP archive. Extract it to a dedicated folder on your machine — something like ~/projects/bolt-exports/your-project-name/. This gives you all project files immediately. GitHub clone (better for ongoing sync): use Bolt's Git panel to push the project to GitHub if you have not already. Then clone the repository locally. This approach is preferred for active projects because you can pull Bolt updates and push local changes without downloading new ZIPs each time. Opening the project in Sublime Text: do NOT just open individual files — open the entire project folder. Use File > Open Folder (macOS/Linux) or Project > Add Folder to Project. Opening as a folder enables the sidebar file tree, project-wide search (Shift+Cmd+F on macOS), and Goto Anything (Cmd+P) — features that make navigating multi-file Bolt projects much more efficient. For a better multi-session experience, save the folder as a Sublime Text project: Project > Save Project As. Give it a name like 'my-bolt-app.sublime-project.' A .sublime-project file (JSON format) is created alongside the optional .sublime-workspace file which remembers open files and cursor positions. Add .sublime-workspace to your .gitignore (it contains local state that should not be committed), but the .sublime-project file can optionally be committed if your team uses Sublime Text. After opening the folder, run npm install in a terminal to install dependencies before editing — otherwise Sublime's package intelligence features will not find the TypeScript types.

terminal
1# Open project folder from terminal (macOS):
2subl ~/projects/bolt-exports/your-project-name
3# or on any platform:
4# drag the folder onto the Sublime Text icon in Dock/Taskbar
5
6# Install dependencies first:
7cd ~/projects/bolt-exports/your-project-name
8npm install
9
10# Add .sublime-workspace to .gitignore:
11echo '.sublime-workspace' >> .gitignore

Pro tip: The subl command-line tool opens files and folders in Sublime Text. Install it by running 'subl' from the command line after opening Sublime Text — on macOS, go to Sublime Text > Tools > Install Command Line Tool. This lets you open Bolt exports with a single terminal command.

Expected result: The Bolt project folder is open in Sublime Text with the sidebar showing all project files (package.json, src/, public/, etc.). Sublime's Goto Anything (Cmd+P) shows all files in the project.

2

Install Essential Packages via Package Control

Sublime Text's default installation understands JavaScript and basic syntax, but Bolt-generated projects use TypeScript, JSX, Tailwind CSS utility classes, and modern React patterns that benefit from dedicated package support. Package Control is Sublime Text's package manager — you install it once and use it for all subsequent package installations. To install Package Control (if not already installed): go to Tools > Install Package Control or visit packagecontrol.io and follow the installation instructions. Package Control adds itself to Sublime Text's command palette. Install packages via: Command Palette (Cmd+Shift+P on macOS, Ctrl+Shift+P on Windows/Linux) > type 'Install Package' > select 'Package Control: Install Package' > search for the package name. Recommended packages for Bolt TypeScript/React projects: - **TypeScript**: Adds TypeScript syntax highlighting, basic completion, and error indicators for .ts and .tsx files. This is the most important package for Bolt projects — without it, TypeScript files lack proper syntax highlighting. - **Babel**: Enhanced syntax highlighting for modern JavaScript including JSX. Works alongside the TypeScript package for .tsx files. - **SublimeLinter + SublimeLinter-eslint**: Inline ESLint error display using your project's .eslintrc configuration (which Bolt generates automatically). SublimeLinter is the framework; SublimeLinter-eslint is the ESLint-specific plugin. You also need ESLint installed in node_modules (it is, for Bolt projects). - **Tailwind CSS Autocomplete**: Search for 'Tailwind CSS' in Package Control — there are several options. Look for one with recent updates that supports Tailwind v3 or v4 class completion within JSX className attributes. - **GitGutter**: Shows Git diff indicators in the gutter (green lines for additions, red triangles for deletions, yellow for modifications). Helps you see what changed since the last commit when reviewing Bolt-generated code. - **Emmet**: Fast HTML/JSX expansion using abbreviations. Not essential for Bolt projects (you are usually editing generated code, not writing from scratch), but useful if you frequently add JSX structure manually.

terminal
1# Package Control installs packages through the Sublime Text GUI.
2# But you can also install packages via the command line using
3# Sublime Text's package manager programmatically:
4
5# Packages are stored in:
6# macOS: ~/Library/Application Support/Sublime Text/Packages/
7# Windows: %APPDATA%\Sublime Text\Packages\
8# Linux: ~/.config/sublime-text/Packages/
9
10# After installing packages, verify TypeScript syntax is working by:
11# 1. Opening any .tsx file from the Bolt project
12# 2. Checking the bottom-right corner shows 'TypeScript' or 'TypeScript JSX'
13# 3. Checking that import statements and type annotations have syntax highlighting

Pro tip: After installing SublimeLinter-eslint, you need to configure SublimeLinter to find your ESLint binary. Go to Preferences > Package Settings > SublimeLinter > Settings and set 'linters.eslint.executable' to the path of eslint in your project: './node_modules/.bin/eslint'. This ensures SublimeLinter uses the project's eslint version.

Expected result: TypeScript and TSX files show proper syntax highlighting. ESLint violations appear as underlined warnings in the code. Tailwind class names show autocomplete suggestions in className attributes.

3

Configure Build Systems and Run the Dev Server

Unlike VS Code, Sublime Text does not have a built-in terminal. Running the Bolt project's development server (npm run dev) requires either a separate terminal window or Sublime Text's build system feature — which can run shell commands and show output in a panel at the bottom of the editor. Sublime Text build systems are defined in JSON files with a .sublime-build extension, stored in the Packages/User/ directory or inside the project's .sublime-project file. A build system for a Bolt Vite project runs npm run dev and shows the output in Sublime's console panel. However, the build system panel in Sublime Text is not a full interactive terminal — it shows output but does not support input well. It works for running builds (npm run build) but may feel limited compared to a full terminal for an interactive dev server. Many Sublime Text users prefer running the dev server in a dedicated terminal window (iTerm2, Windows Terminal) alongside Sublime, keeping the two windows side by side. For running npm run build (one-time, not interactive): add this as a Sublime build system and trigger it with Cmd+B. The output appears in the console panel (Ctrl+`) and shows compilation errors from TypeScript and Vite. This is useful as a quick build check before committing. The .boltignore file pattern (similar to .gitignore) can reduce token usage by up to 70% when you eventually bring the edited project back to Bolt. If you do heavy local editing in Sublime, the Bolt AI will need to understand your changes — keeping the project modular with clear component boundaries helps Bolt's context window focus on the relevant parts.

BoltVite.sublime-build
1// Build system for Bolt Vite project:
2// Save as: Packages/User/BoltVite.sublime-build
3// Or add inside .sublime-project under "build_systems":
4{
5 "name": "Bolt - Vite Dev Server",
6 "cmd": ["npm", "run", "dev"],
7 "working_dir": "$project_path",
8 "shell": false,
9 "variants": [
10 {
11 "name": "Build",
12 "cmd": ["npm", "run", "build"]
13 },
14 {
15 "name": "Type Check",
16 "cmd": ["npx", "tsc", "--noEmit"]
17 }
18 ]
19}

Pro tip: Use Sublime Text's build variant feature (Cmd+Shift+B) to access different npm scripts from the same build system without creating multiple .sublime-build files. Define 'Build' and 'Type Check' as variants so you can run each with a keyboard shortcut.

Expected result: Pressing Cmd+B runs npm run dev (or npm run build for the Build variant). The output appears in Sublime's console panel. TypeScript errors from the build appear as clickable error messages that jump to the relevant file.

4

Use Sublime Text's Power Features for Bolt Code

Sublime Text's most distinctive features become very useful when working with Bolt-generated code that contains repetitive patterns — component props, Tailwind class arrays, JSON data arrays. Learning these features significantly speeds up editing sessions. Goto Anything (Cmd+P on macOS, Ctrl+P on Windows): instant fuzzy file search by filename or path. Type 'dashboard' to jump to any file with 'dashboard' in its name. Type '@' after entering a filename to search symbols (function names, class names) within that file. This is how you navigate quickly between the 20-50 component files that a typical Bolt project generates. Multiple selections (the most powerful Sublime feature for Bolt code): select any text, then press Cmd+D to add the next occurrence of the same text to the selection, or Cmd+G to select all occurrences in the file. All selected instances edit simultaneously. This is perfect for renaming a prop that appears 15 times in a component, updating repeated Tailwind class patterns, or fixing the same error in multiple similar components without search-and-replace. Column selection (Option+drag on macOS, Alt+drag on Windows): drag vertically to select a column of text across multiple lines. Useful for editing JSON arrays that Bolt sometimes generates, or for adding/removing the same prefix to multiple lines simultaneously. Command palette (Cmd+Shift+P): access any Sublime command or installed package feature. Type 'Sort Lines' to alphabetize imports, 'Reindent' to fix code formatting, or 'Set Syntax' to correct misidentified file types. For syncing back to Bolt: once you are satisfied with local Sublime edits, use the terminal to git add, commit, and push to GitHub. Then pull the changes in Bolt's Git panel. The Bolt AI will incorporate your local edits into its context for subsequent prompts.

sublime-shortcuts-reference.txt
1// Common Sublime Text keyboard shortcuts for Bolt code editing:
2// Cmd+P (macOS) / Ctrl+P (Windows) - Goto Anything: jump to any file
3// Cmd+D - Select next occurrence of current word
4// Cmd+G (macOS) / Alt+F3 (Windows) - Select all occurrences of current word
5// Cmd+Shift+F - Project-wide search (searches all files)
6// Cmd+R - Goto Symbol: jump to function/class in current file
7// Cmd+Shift+P - Command palette
8// Option+drag (macOS) / Alt+drag (Windows) - Column selection
9// Ctrl+` - Show/hide console panel (for build output)
10// Cmd+/ - Toggle line comment (JavaScript // or JSX {/* */})

Pro tip: Install the 'SublimeCodeIntel' or 'LSP' package to add Language Server Protocol support to Sublime Text. With LSP-typescript configured, you get go-to-definition, hover documentation, and better autocompletion for Bolt TypeScript projects — closer to the VS Code experience.

Expected result: You can navigate the Bolt project efficiently using Goto Anything, use multiple selections to edit repeated patterns, and use project-wide search to find where variables and components are used across the codebase.

5

Sync Changes Back to Bolt via GitHub

Changes made in Sublime Text create a local version of the Bolt project that diverges from what Bolt's WebContainer environment knows about. To bring these changes back into Bolt for further AI-assisted development, GitHub is the intermediary — the same pattern used for VS Code, Atom, and all other local editor integrations. If your project is connected to GitHub (via Bolt's Git panel), the workflow is: make edits in Sublime, open a terminal and run git commands to commit and push, then pull the changes in Bolt. Bolt's AI assistant will see your Sublime-made edits in subsequent prompts. Sublime Text does not have built-in Git UI (unlike VS Code). Your options for Git operations alongside Sublime are: 1. Terminal: the simplest approach — open a terminal alongside Sublime and use standard git commands. This is the most common workflow for Sublime Text users. 2. GitGutter (already recommended above): shows diff indicators in the gutter, but does not provide commit or push UI. 3. Sublime Merge: JetBrains-style Git client from the same company that makes Sublime Text. Integrates tightly with Sublime Text and provides a visual Git interface. Download separately from sublimemerge.com. 4. GitHub Desktop: a cross-platform Git GUI that works alongside any editor. Shows staged changes, provides commit UI, and handles push/pull without terminal commands. The most important practice: before making substantial local edits in Sublime, push the current Bolt state to GitHub first. This creates a clean rollback point in case your local edits introduce regressions. After editing in Sublime, commit with a descriptive message explaining what you changed and why — this helps the Bolt AI understand the edit context when you pull back and continue AI-assisted development.

terminal
1# After editing in Sublime Text, commit and push to GitHub:
2cd ~/projects/bolt-exports/your-project-name
3
4# Review what changed:
5git diff --stat
6
7# Stage changed files:
8git add src/components/YourComponent.tsx src/styles/custom.css
9
10# Commit with a descriptive message:
11git commit -m "refactor: simplify NavBar component and update Tailwind classes"
12
13# Push to GitHub:
14git push origin main
15
16# Then in Bolt's Git panel: click Pull to sync these changes into Bolt

Pro tip: Use 'git diff' in the terminal before staging files to review exactly what changed in each file. This helps catch accidental changes and ensures your commit message accurately describes what you modified in Sublime.

Expected result: Your Sublime Text edits are committed to GitHub and pulled into Bolt. The Bolt AI assistant can now build on top of your locally-made edits in subsequent chat sessions.

Common use cases

Quick Content and Style Edits to Bolt-Generated Pages

After Bolt generates page content and layout, open the project in Sublime Text for fine-grained text editing, color adjustments, and Tailwind class modifications. Sublime Text's speed and multi-cursor editing make these repetitive tweaks much faster than making them through Bolt's chat interface.

Bolt.new Prompt

Copy this prompt to try it in Bolt.new

Code Review of AI-Generated Components

Export a Bolt project after a major AI-assisted build session and review all generated files in Sublime Text before deploying. Use Sublime's Goto Anywhere (Cmd+P) to navigate between files quickly and its column selection to compare patterns across multiple components simultaneously.

Bolt.new Prompt

Copy this prompt to try it in Bolt.new

Lightweight Editing on Older Hardware

On machines where VS Code is slow due to limited RAM (under 8GB) or an aging CPU, Sublime Text provides a full-featured editing experience for Bolt-exported TypeScript and React projects with minimal resource usage — typically using 50-200 MB of RAM versus VS Code's 400-800 MB for the same project.

Bolt.new Prompt

Copy this prompt to try it in Bolt.new

Troubleshooting

TypeScript and JSX files (.tsx) show incorrect syntax highlighting or are treated as plain text in Sublime Text

Cause: The TypeScript and Babel packages are not installed, or Sublime Text is not recognizing the file extension. Sublime Text defaults to JavaScript highlighting for .ts files but does not handle .tsx JSX syntax correctly without the Babel or TypeScript package.

Solution: Install the TypeScript and Babel packages via Package Control. After installation, open any .tsx file and manually set the syntax: View > Syntax > TypeScript > TypeScript JSX. To make this permanent for all .tsx files: with a .tsx file open, go to View > Syntax > Open all with current extension as... and select TypeScript JSX.

SublimeLinter shows ESLint errors but the specific file path mentioned does not exist or seems wrong

Cause: SublimeLinter-eslint is using a globally installed ESLint binary instead of the project's local version, causing it to use different ESLint configuration or a different version than the project expects.

Solution: Configure SublimeLinter to use the project's local ESLint binary. Open Preferences > Package Settings > SublimeLinter > Settings and add: 'linters': { 'eslint': { 'executable': '${folder}/node_modules/.bin/eslint' } }. The ${folder} variable resolves to the project root, pointing SublimeLinter to the project-local ESLint installation.

typescript
1// Preferences > Package Settings > SublimeLinter > Settings:
2{
3 "linters": {
4 "eslint": {
5 "executable": "${folder}/node_modules/.bin/eslint"
6 }
7 }
8}

Sublime Text project-wide search does not find text that is clearly in the project files

Cause: The search is limited to indexed files, and node_modules/ or other large directories are being indexed (or the project was not opened as a folder — just individual files). Large directories can also slow indexing significantly.

Solution: Ensure the project is opened as a folder (File > Open Folder) rather than individual files. Add node_modules/ and dist/ to Sublime's folder_exclude_patterns in project settings: open the .sublime-project file and add: 'folder_exclude_patterns': ['node_modules', 'dist', '.next', 'build']. This both speeds up search and prevents confusing results from dependency source files.

typescript
1// .sublime-project file:
2{
3 "folders": [
4 {
5 "path": ".",
6 "folder_exclude_patterns": [
7 "node_modules",
8 "dist",
9 ".next",
10 "build",
11 ".git"
12 ],
13 "file_exclude_patterns": [
14 "*.map",
15 "*.min.js"
16 ]
17 }
18 ]
19}

Best practices

  • Open Bolt projects as a folder (File > Open Folder) rather than individual files to enable Goto Anything, project-wide search, and proper package context detection — all of which require Sublime to know the project root.
  • Add node_modules/, dist/, and .next/ to folder_exclude_patterns in the .sublime-project file to prevent Sublime from indexing generated files, which improves search speed and reduces false positives.
  • Use GitHub as the sync layer between Bolt and Sublime Text — push from Bolt, pull locally and edit in Sublime, push back to GitHub, then pull in Bolt — rather than trying to manually copy files between environments.
  • Install Sublime Merge (the companion Git GUI from the Sublime Text team) for visual Git operations if terminal-based Git commands feel cumbersome — it integrates tightly with Sublime Text's editor workflow.
  • Use Sublime Text's multiple selections (Cmd+D for sequential, Cmd+G for all occurrences) for global renames in Bolt-generated code — this is significantly faster than search-and-replace for targeted edits.
  • Save the project as a .sublime-project file and add it to the repository to preserve folder structure settings and build systems across team members who also use Sublime Text.
  • For heavy TypeScript development work (refactoring, advanced type checking), consider VS Code for those sessions specifically — Sublime Text's TypeScript support is good for editing but lacks VS Code's full TypeScript Language Server integration.

Alternatives

Frequently asked questions

Does Sublime Text have a direct connection to Bolt.new?

No — Sublime Text is a local desktop application with no direct integration with Bolt.new's browser-based environment. The connection between them is through GitHub: Bolt pushes code to a GitHub repository, you clone it locally and edit in Sublime Text, then push back to GitHub and pull into Bolt. Alternatively, use Bolt's ZIP export to get the project files locally.

Is Sublime Text free to use?

Sublime Text is available as a free download with an unlimited evaluation period — you can use it indefinitely without paying. The evaluation version occasionally shows a purchase prompt when saving files. A perpetual license costs $99 for Sublime Text 4 (as of 2026) and covers future updates within the same major version. For professional use with Bolt projects, the license is worth considering to remove the evaluation prompts.

Can I use Sublime Text's built-in terminal for running the Bolt dev server?

Sublime Text does not have a built-in interactive terminal panel like VS Code's integrated terminal. You can configure build systems that run shell commands and display output, but these are not fully interactive. For running the Bolt dev server (npm run dev) in an interactive environment, use a separate terminal application alongside Sublime Text. macOS users can use iTerm2 or the built-in Terminal; Windows users have Windows Terminal; Linux users have any GNOME/KDE terminal.

How does Sublime Text handle Tailwind CSS classes in Bolt projects?

Out of the box, Sublime Text has no awareness of Tailwind CSS utility classes. After installing a Tailwind autocomplete package (search 'Tailwind' in Package Control), you get autocomplete suggestions for Tailwind classes inside JSX className attributes and HTML class attributes. The level of support varies between packages — some provide basic class name completion, others understand Tailwind's configuration file and custom themes. Check the package's update date to ensure it supports the Tailwind version your Bolt project uses.

Can I use Sublime Text to edit Bolt projects that use Supabase or other integrations?

Yes — Sublime Text edits files in your local project, and those files work with any stack your Bolt project uses. Editing Supabase queries, API routes, authentication logic, or any other integration-related code works exactly the same as editing any other TypeScript file. The integrations themselves run in the browser (Bolt preview) or on the server (deployed app) — Sublime Text just edits the source code.

RapidDev

Talk to an Expert

Our team has built 600+ apps. Get personalized help with your project.

Book a free consultation

Need help with your project?

Our experts have built 600+ apps and can accelerate your development. Book a free consultation — no strings attached.

Book a free consultation

We put the rapid in RapidDev

Need a dedicated strategic tech and growth partner? Discover what RapidDev can do for your business! Book a call with our team to schedule a free, no-obligation consultation. We'll discuss your project and provide a custom quote at no cost.