CLI: open folder as a tab in the current window

Feature request for product/service

Cursor CLI

Describe the request

Please add a CLI option to open a folder as a new window tab in the most recent active Cursor window.

Right now I can open in a new window (-n) or reuse/replace an existing window (-r), but not open as a tab in the current window.

Example of what I’d want:
cursor --new-tab ~/projects/my-app

That would open the folder as a tab in the last active window, instead of a new window or replacing the current one.

Operating System (if it applies)

MacOS

There’s no --new-tab flag today, but on macOS you can already get that behavior: with "window.nativeTabs": true and System Settings → Desktop & Dock → Prefer tabs when opening documents set to Always, cursor -n ~/projects/my-app opens as a tab in your frontmost window instead of a detached one. The macOS default is “In Full Screen Only”, which is usually why -n still opens a separate window.

If you want both folders in one workspace instead, cursor -a ~/projects/my-app adds it as a second root. A dedicated --new-tab flag is still a fair ask since it wouldn’t depend on an OS preference - we’ll be tracking this thread to gauge interest.

Thank you! I was not aware of that macOS setting. I have turned it on and will see if that is solution is good enough for me (it works as you describe)
— Jason