Studio
For AI agents: this page is Markdown at https://squiggle.sh/docs/studio.md. Every docs page is listed at https://squiggle.sh/llms.txt, and all of them are one file at https://squiggle.sh/llms-full.txt.
Studio is the Squiggle desktop app. Pick a simulator, and Studio boots it and launches your app with Squiggle attached, and shows it live next to the Inspector, your flows, performance and analytics.
Open your app
On the Devices screen (⌘ 1), pick a simulator. Studio boots it and launches your app: the one connected on that simulator, or else the iOS app your open project names (apps.ios, or bundleId, in .squiggle/config.jsonc). If the app isn’t installed there yet, Studio says so; build it once with npx expo run:ios. Each stage shows in the device row and in the notifications. A simulator you boot from Xcode appears on its own.
Your project’s macOS app (apps.macos) and React web app (apps.web) appear in the list too, marked Not running or Not open until they are. Choose one and Studio launches the macOS app with Squiggle attached, or opens the web app in Squiggle’s window. See React Native macOS apps and Watch and drive it in Studio.
One project at a time
Studio works on one project folder, the one with your .squiggle folder in it. Choose it with the folder picker, and switch from the title bar, the banner on Home, or Project in Settings. Flows, recordings, performance data and history all come from that folder, the same one the squiggle command uses, so a flow you ran in the terminal shows up in Studio’s History.
A connected app’s data is saved into the project that owns it, which need not be the open one: with project A open, project B’s app is saved into B. A project owns the apps its .squiggle/config.jsonc names under apps, and a development build made inside its folder. An app no project you have opened owns is shown and driven as usual but nothing from it is saved, and the title bar says Not saved. Add to the open project declares it there; Open its project opens the folder it belongs to.
In a monorepo, opening the repository root opens the one app in apps or packages that has its own .squiggle folder, as the squiggle command does there. With several such apps, Studio opens the root itself, so open the app’s folder instead.
The project menu, the project’s name in the title bar, lists the projects you have opened. Open Project… picks another folder. Close Project takes you back to the project picker and keeps the project in the list, so you can open it again with one click.
Each project shows its app’s icon, the one your Expo config names or the app’s iOS or Android icon, and its folder’s name. An app in a monorepo’s apps or packages folder is named after the repository instead, and the path shown with each name in the lists tells two apps of one repository apart.
Runs
A run is a stretch of recorded data: performance, analytics and product screens all show one run at a time. A new run starts when the app connects or relaunches. On the Analytics screen, Start run begins a fresh one, Stop run freezes it so you can look at it, and Reset live run clears it and keeps recording. Pick a past run from the run picker. Each squiggle flow is one run too. The Performance and Product screens, and the --session flag, call a run a session: they are the same thing.
Deleting a run removes its data from every screen and can’t be undone. To delete one, open it from the run picker, press Delete run in the Analytics header, then press it again when it reads Confirm delete run.
Move between screens
Each screen in the sidebar has a shortcut. Home opens from the Squiggle mark in the title bar, and History from See all in the title bar’s history list. ⌘ [ and ⌘ ] go back and forward, and ⌘ / lists every shortcut.
| Screen | What it is for |
|---|---|
| Home | The open project and the connected device, and a card for each screen. |
| Devices ⌘ 1 | Every simulator Studio can reach, the running Mac apps, and your project’s Mac and web apps. Pick the one to work on. |
| Flows ⌘ 2 | Record, edit and run flows. See Flows in Studio. |
| Inspector ⌘ 3 | The live component tree, the screen map and what re-renders. See Inspect a component. |
| Replay ⌘ 4 | Play back recorded sessions. See Record and replay. |
| Gallery ⌘ 0 | Screenshots and screen recordings. See Take a screenshot or record the screen. |
| Analytics ⌘ 5 | Errors, friction and what each touch and drag did. See Heatmap. |
| Product ⌘ 6 | Screens, funnels and audience. See Product analytics. |
| Performance ⌘ 7 | Metrics, the timeline, resources, findings and your data. See Performance. |
| Tunings ⌘ 8 | What --tune and --repair measured and proposed. Each record shows what it changes and how it went, such as Fixes 11 problems or No fix found; open one for a tuning’s curve or a repair’s misses in each setup, before and after. Preview a setting shows, on a screen Squiggle captured, which controls a setting moves as you drag it. Nothing here changes your app. In the browser Studio, Tunings shows example records from Squiggle’s own example app. |
| History | Every flow, benchmark, crawl and recording this project ran. See Look back at what ran. |
Arrange the window
| Control | What it does |
|---|---|
| Hide sidebar, Show sidebar ⌘ B | The first button in the title bar. Hides or shows the list of screens. |
| Hide device panel, Show device panel ⌘ ⇧ B | The last button in the title bar. Hides or shows the simulator beside the screen you are on. |
| Compact mode ⌘ ⇧ M | Shrinks the window to the device. See Compact mode and the device grid. |
| Next device, Previous device ⌘ D ⌘ ⇧ D | Moves the device panel to the next or previous booted device. Works when more than one is booted. |
The window can’t get narrower than the sidebar and the device panel, at the widths you dragged them to, plus room for the screen between them. To make it narrower, hide one of them or drag its edge in.
Follow what Studio is doing
While something runs, such as a flow, a recording or a build, a pill in the title bar names it. Hover a pill and press it to stop that run; a pill that can’t be stopped shows only its spinner.
The bell (⌘ U) opens the notifications: what is running now under Live, then everything Studio told you, newest first. Click a notification to read all of it; when it belongs to a run, Open in History opens that run. Hover one for Copy notification and Dismiss notification. Clear all removes every notification.
Look back at what ran
History lists every flow, benchmark, device action, recording and squiggle command this project ran, from Studio or the terminal, newest first. ⌘ Y shows the most recent; See all opens the History screen. squiggle history shows the same list.
| Control | What it does |
|---|---|
| Kind, Source, Failed only | Filter the list by what ran (Flows, Bench, Device, Recordings, Analytics, CLI), by where it ran (Desktop or CLI), and to the runs that failed. |
| Run again | The play button on a hovered row. A flow runs again with the same settings. |
| Stop | On a row that is still running. Stops it. |
| More | View details opens the run; Copy command copies the terminal command for a flow run, benchmark or CLI command; Pin event keeps it at the top, and Unpin event lets it go. |
| Copy this list | Copies the list as it is filtered, one line per event, with the failing step of each failed flow. |
| Copy event | On a run’s details. Copies the whole event as text. |
Clear history on the screen, and Clear in the ⌘ Y list, remove every event except the pinned ones, with no confirmation.
Change Studio’s settings
Open Settings with ⌘ ,. Its sidebar has four sections: General (the project, the squiggle command, your coding agents and updates), Sound, Privacy (incident capture and telemetry) and Help (the tour, keyboard shortcuts, the intro and support). Settings opens on the section you used last.
| Setting | What it does |
|---|---|
| Notification sounds | Plays a sound with each notification. On by default; ⌃ M mutes and unmutes. Sound palette picks the set of sounds. Sound effects lab plays every sound in every palette, so you can compare them. |
| Project | Switches the open project folder. |
| Command line | Install puts the squiggle command in ~/.local/bin, and Remove takes it away. If your terminal still can’t find it, Add to PATH appears: it adds ~/.local/bin to your shell’s profile. Open a new terminal window afterwards. When Studio can’t tell which profile your shell reads, the row says to add it yourself. |
| Coding agents | Connect your agents adds Squiggle to the coding agents installed on your Mac (Claude Code, Codex, Cursor or VS Code) for the open project, as squiggle init does, and says which it connected. Clicking again says which were already connected. If an agent’s settings file can’t be read, the row names the file so you can add Squiggle there yourself. See Add the server. |
| Replay the intro, Welcome banner | Show the first-launch intro again, and bring back the welcome banner on Home after you closed it. |
| Capture incidents | Saves the seconds around something going wrong as a recording. On by default. See Incident capture. |
| Anonymous usage telemetry | The same switch as squiggle telemetry off and on. |
| Studio tour, Tour button in the sidebar | Start the tour, and show or hide its button in the sidebar. |
| Keyboard shortcuts | Lists every shortcut. |
| Found a bug? Tell us about it | Email us starts an email to support. Paste in the output of squiggle doctor. |
| Check for updates, Update available | Looks for a newer Studio. When there is one, the button reads Update available and opens the update card. See Update Studio. |
⌃ T switches between the system, light and dark themes.
Update Studio
Studio checks for a newer version each time it opens, and once a day while it runs. When one is out, a card shows it, with your version and the new one, when it was published and what changed. See full changelog opens the release notes on squiggle.sh. Press Update now once: the button reads Starting…, then the card shows the download’s progress, installs the update and relaunches Studio on the new version. Closing the card while it downloads (Esc, or a click outside it) keeps the download going; Update available in the title bar brings the card back, and the Updates row in settings says whether the update is downloading, installing or waiting for a relaunch. If an update finished downloading in an earlier session, the card says Ready to install; press Relaunch to finish.
Later puts the card away, and it doesn’t open on its own again for that version. Update available stays in the title bar until you update; press it to bring the card back. If the update fails, the card says Update failed with the reason, and the Updates row in settings says it too. Later closes the card, and Check for updates in settings tries again.
Take the tour
The tour button in the sidebar opens the tour’s chapters, grouped by the screen they are about: Getting started, Flows, Device, Inspector, Replay, Performance, and Analytics & Product. Studio for Mac and the Studio on squiggle.sh have the same chapters. The top line says how many you have read. Each section shows how many of its chapters you have read; click it to open or close it. The section with your next unread chapter starts open, and a read chapter has a tick. Pick a chapter to start it. In Studio for Mac the tour points at your own project, so a step about something your project doesn’t have yet, such as a failed run, shows its card in the middle of the window. During a chapter, → goes to the next step when the step has a Next button, ← goes back, and Esc ends the tour.
| In the tour menu | What it does |
|---|---|
| Show hints | Puts a pulsing dot on what each unread chapter covers, on the screen it covers. It sits at the foot of the menu with Start the tour over and Hide this button. |
| Start the tour over | Marks every chapter unread. |
| Hide this button | Takes the tour button out of the sidebar. Start the tour from Settings instead. |