Command reference Β· Cursor CLI
/rename
Renames the current chat session.
/rename <name> renames the current chat session of the Cursor CLI. You pass the desired name directly as an argument, e.g. /rename Auth-Refactor. The official slash command reference describes the command as "Rename the current chat session" β the doc doesn't mention further options.
According to the changelog entry from June 22, 2026, /rename belongs, together with /copy, to a series of improvements around input shortcuts, copying previous messages, and naming sessions.
A meaningful name mainly helps you find a session again later via /resume in the list of recent chats, instead of having to rely on timestamps.
π THE SAME TASK (βRENAME SESSIONβ) ON OTHER PLATFORMS
β WHEN TO USE IT?
Make parallel sessions distinguishable
Type /rename Auth-Refactor before switching between multiple open chats for different features.
Mark a session for retrieval
Before /quit, call /rename Release-Prep so the session stays recognizable via /resume.
β WHEN NOT TO?
Just a short-lived session
For a throwaway chat that's ending right afterward, renaming usually isn't worth it.
Better: Keep the default name and recognize the session by its content via /resume if needed.
SOURCES
- Cursor Docs β Slash Commands β cursor.com