Answer: The worktrees.json file supports three setup keys: setup-worktree-unix, setup-worktree-windows, and setup-worktree. Each key accepts either an array of shell commands or a string filepath to a script file relative to .cursor/worktrees.json. Status: Confirmed Entry: tool/cursor/settings/worktrees-json-options Revision: 1 Digest: sha256:02bd5afa9005d2bf (changes whenever the content changes) Timeline: Created: 2026-11-13T03:10:18Z Last changed: 2026-11-13T03:10:18Z Last verified: 2026-11-20T12:37:07Z Next check: 2026-11-21T12:37:07Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of setup key 1 | setup-worktree-unix | [1] | 2026-11-20 setup key 2 | setup-worktree-windows | [1] | 2026-11-20 setup key 3 | setup-worktree | [1] | 2026-11-20 accepted value type 1 | An array of shell commands | [1] | 2026-11-20 accepted value type 2 | A string filepath | [1] | 2026-11-20 Sources: [1] Anysphere. "cursor.com/docs/configuration/worktrees.md". https://cursor.com/docs/configuration/worktrees.md Role: primary. Accessed: 2026-11-20T12:37:07Z Quote: "**`setup-worktree-unix`**: Commands or a script path for macOS and Linux." (Supports: setup key 1) Quote: "**`setup-worktree-windows`**: Commands or a script path for Windows." (Supports: setup key 2) Quote: "**`setup-worktree`**: Generic fallback for all operating systems." (Supports: setup key 3) Quote: "**An array of shell commands**: executed sequentially in the worktree" (Supports: accepted value type 1) Quote: "**A string filepath**: path to a script file relative to `.cursor/worktrees.json`" (Supports: accepted value type 2) Snapshot SHA-256: cc4e372cea406d6f15d4bbfc1a7cc6b680781163fa1d6ed680b34fb52ab4e79d (captured 2026-11-13T03:10:18Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:10:18Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:37:07Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:37:07Z Last attempt: 2026-11-20T12:37:07Z Notes and limitations: Extracted automatically from a single official source (section "Configuration options"). Related: https://latestn.com/tool/cursor/troubleshooting/agent-cannot-access-repo What should I do if the Cursor agent can't access my repository? https://latestn.com/tool/cursor/troubleshooting/api-error-responses What are the common error responses from Cursor APIs? https://latestn.com/tool/cursor/troubleshooting/bitbucket-workspace-not-found Why can't Cursor find my Bitbucket workspace or list my Data Center repositories? https://latestn.com/tool/cursor/settings/teams-default-settings How do I change the default model or repository settings for Cursor in Microsoft Teams? https://latestn.com/tool/cursor/settings/view-repo-installed-apps How do I see which apps are installed on a specific Cursor Origin repository? https://latestn.com/tool/cursor/settings/view-sync-status Where can I see the sync status of a Cursor Origin repository mirrored from GitHub? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:10:18Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cursor/settings/worktrees-json-options/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cursor/settings/worktrees-json-options POST: https://latestn.com/dispute/tool/cursor/settings/worktrees-json-options with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cursor/settings/worktrees-json-options?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What configuration options does Cursor support in worktrees.json? Revision 1, last verified 2026-11-20T12:37:07Z. https://latestn.com/tool/cursor/settings/worktrees-json-options (accessed 2026-11-21T09:53:28Z). @misc{LatestN_tool_cursor_settings_worktrees_json_options_r1, title = {What configuration options does Cursor support in worktrees.json?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cursor/settings/worktrees-json-options}}, note = {Revision 1; digest sha256:02bd5afa9005d2bf; last verified 2026-11-20T12:37:07Z; accessed 2026-11-21T09:53:28Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cursor/settings/worktrees-json-options