promptgarten 🌱
🌍 DE

命令参考 · Cursor CLI

agent update

把 Cursor Agent 更新到最新版本。

agent update 会下载并安装最新的 CLI 版本。后台自动更新默认是开启的;交互会话中的 /update 可以直接完成同样的操作。

什么时候用?

手动更新到最新版本,例如为了使用某个新的功能开关(Feature Flag)

agent update

什么时候不该用?

不希望有自动的后台更新(例如 CI 中固定了某个版本)

agent update 是一次性的手动命令,不影响自动更新的行为。

更好的选择: 设置 --disable-auto-update 彻底关闭后台更新(参见 Global Options)

来源