promptgarten ๐ŸŒฑ

Command reference ยท Cursor CLI

agent update

Updates Cursor Agent to the latest version.

agent update is a terminal subcommand of the Cursor CLI and not a slash command โ€“ you call it directly in the shell (syntax: agent update), independent of a running session. The command downloads the latest available CLI version and installs it. This is distinct from the identically named slash command /update: that one runs within an already-started interactive session and updates the installation in place, without you having to leave or restart the session. Both paths ultimately install the same latest version. By default, the CLI continuously checks for new versions in the background anyway and updates automatically; according to the changelog, this behavior can be disabled with the --disable-auto-update flag. agent update is therefore mainly meant for a targeted, immediate trigger, for example when you want to access a freshly released feature without waiting. You check the currently installed version separately with agent --version.

โœ… WHEN TO USE IT?

Use a new feature immediately

Run agent update to get a freshly announced feature from the changelog right away, instead of waiting for the next auto-check

Update the CLI before starting a session

Run agent update in the shell before starting cursor-agent at all

โ›” WHEN NOT TO?

Wanting to permanently disable auto-updates

agent update is a one-off manual command and doesn't change the automatic background update behavior.

Better: Set --disable-auto-update (according to the changelog) to permanently disable background updates

SOURCES

MORE COMMANDS ยท Cursor CLI

agent lsagent resumeagent create-chatagent generate-rule | agent ruleagent install-shell-integrationagent uninstall-shell-integrationagent help [command]agent mcp login <identifier>agent mcp listagent mcp list-tools <identifier>agent mcp enable <identifier>agent mcp disable <identifier>

All commands ยท Cursor CLI โ†’

Share:๐•in๐Ÿ’ฌ