promptgarten ๐ŸŒฑ

Command reference ยท Cursor CLI

/update

Updates Cursor Agent to the latest version directly from the running session.

/update is the second genuine slash command in this group โ€“ an interactive command you type within a running Cursor CLI session. According to the official slash command reference, it updates the CLI to the latest version; the changelog describes it more precisely as updating "in place from inside the session," i.e. without you having to leave the session. This is distinct from the identically named terminal subcommand agent update: you call that separately in the shell, outside of a running session โ€“ for example before starting the CLI at all. Content-wise, both install the same latest version, only the calling context differs. After an /update, restarting the session is usually worthwhile so the new code is actually loaded and active โ€“ a pure in-memory switch in the middle of a running session isn't reasonably possible for a version change.

โœ… WHEN TO USE IT?

New feature without ending the session

Run /update to get a feature from the current changelog, without leaving the running session

Update quickly mid-chat

Type /update directly in the interactive session instead of switching to the terminal

โ›” WHEN NOT TO?

In the middle of a critical task

An update in the middle of things can disrupt the state of the running session.

Better: Postpone the update to after task completion, or run agent update separately in the terminal

SOURCES

MORE COMMANDS ยท Cursor CLI

/max-mode/rename/clear/resume/fork/summarize/rewind/vim/line-numbers/show-thinking/status-indicators/shell

All commands ยท Cursor CLI โ†’

Share:๐•in๐Ÿ’ฌ