promptgarten ๐ŸŒฑ

Command reference ยท Cursor CLI

/load-workspace

Loads a multi-root workspace set previously saved with /save-workspace.

/load-workspace reloads a set of multiple directories previously saved with /save-workspace into the current session. According to the changelog entry from June 22, 2026 ("Named multi-directory workspaces"), this lets you use the agent across multiple repositories: you add directories at runtime with /add-dir, save the resulting set under a name with /save-workspace, and reopen it later with /load-workspace. Alternatively, you start directly with a specific set via the --workspace <path> flag. The command doesn't appear yet in the CLI doc's slash command reference table โ€” it's only documented in the changelog. The entry doesn't specify finer syntax details, such as whether a name is required as an argument when loading.

โœ… WHEN TO USE IT?

Return to the familiar multi-repo environment

After restarting the CLI, call /load-workspace to reload the previously saved set of frontend and backend repos.

Switch between cross-project setups

Use /load-workspace for a context switch from one microservice set to another, instead of re-adding each directory with /add-dir.

โ›” WHEN NOT TO?

There's no saved set yet

According to the changelog, the command requires a prior /save-workspace call.

Better: First add directories with /add-dir and save them with /save-workspace.

SOURCES

MORE COMMANDS ยท Cursor CLI

/auto-review/context/full-conversation/btw/skills/rules/commands/changesagent [prompt...]agent loginagent logoutagent status | agent whoami

All commands ยท Cursor CLI โ†’

Share:๐•in๐Ÿ’ฌ