Command reference ยท Cursor CLI
/save-workspace
Saves the currently active multi-root directories as a named workspace set.
/save-workspace saves the set of directories currently added via /add-dir under a name, so it can be reloaded later. Documented in the official changelog, not (yet) listed in the command reference table.
โ WHEN TO USE IT?
Name a recurring repo combination
/save-workspace backend-plus-shared-lib
โ WHEN NOT TO?
The directory combination is only needed once
Saving it as a named set isn't worth it for a one-off session.
Better: Just use /add-dir without /save-workspace
SOURCES
- Cursor Docs โ Changelog โ cursor.com