Answer: To install the Cursor Agent SDK CLI, first check that Node is 22.13 or newer, then run npm install --global @grok/agent-sdk. After that, run agent-sdk login and complete the browser sign-in. Status: Confirmed Entry: tool/cursor/install-and-setup/install-agent-sdk-cli Revision: 1 Digest: sha256:f1f04d3a39b394b8 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:08:23Z Last changed: 2026-11-13T03:08:23Z Last verified: 2026-11-20T12:32:30Z Next check: 2026-11-21T12:32:30Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of install command | npm install --global @grok/agent-sdk | [1] | 2026-11-20 Node version requirement | 22.13 or newer | [1] | 2026-11-20 login command | agent-sdk login | [1] | 2026-11-20 init command | agent-sdk init | [1] | 2026-11-20 validate command | agent-sdk validate --dir . | [1] | 2026-11-20 Sources: [1] Anysphere. "cursor.com/docs/agent-sdk.md". https://cursor.com/docs/agent-sdk.md Role: primary. Accessed: 2026-11-20T12:32:30Z Quote: "npm install --global @grok/agent-sdk" (Supports: install command) Quote: "Check that Node is 22.13 or newer" (Supports: Node version requirement) Quote: "Run agent-sdk login, and wait while I finish the browser sign-in." (Supports: login command) Quote: "to scaffold the project with agent-sdk init." (Supports: init command) Quote: "Run agent-sdk validate --dir . and one agent-sdk run turn" (Supports: validate command) Snapshot SHA-256: bc24bf618ce5b97e0b66d20c498d22be49da49e5aba12bcc957fa8952ce32c59 (captured 2026-11-13T03:08:23Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:08:23Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:32:30Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:32:30Z Last attempt: 2026-11-20T12:32:30Z Notes and limitations: Extracted automatically from a single official source (section "Get Started with your Coding Agent"). Related: https://latestn.com/tool/cursor/install-and-setup/install-cli-macos-linux-wsl How do I install Cursor CLI on macOS, Linux, or Windows WSL? https://latestn.com/tool/cursor/install-and-setup/install-cli-windows-native How do I install Cursor CLI on native Windows using PowerShell? https://latestn.com/tool/cursor/install-and-setup/install-cursor-jetbrains-acp How do I install Cursor's AI agent in a JetBrains IDE like IntelliJ IDEA or PyCharm? https://latestn.com/tool/cursor/install-and-setup/create-run-agent-sdk-project How do I create and run a new Cursor Agent SDK project? https://latestn.com/tool/cursor/install-and-setup/deploy-cli How do I deploy the Cursor CLI and set it up for automation or CI/CD? https://latestn.com/tool/cursor/install-and-setup/get-api-key How do I get an API key for the Cursor SDK Bridge? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:08:23Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cursor/install-and-setup/install-agent-sdk-cli/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cursor/install-and-setup/install-agent-sdk-cli POST: https://latestn.com/dispute/tool/cursor/install-and-setup/install-agent-sdk-cli with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cursor/install-and-setup/install-agent-sdk-cli?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I install the Cursor Agent SDK CLI? Revision 1, last verified 2026-11-20T12:32:30Z. https://latestn.com/tool/cursor/install-and-setup/install-agent-sdk-cli (accessed 2026-11-21T09:54:22Z). @misc{LatestN_tool_cursor_install_and_setup_install_agent_sdk_cli_r1, title = {How do I install the Cursor Agent SDK CLI?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cursor/install-and-setup/install-agent-sdk-cli}}, note = {Revision 1; digest sha256:f1f04d3a39b394b8; last verified 2026-11-20T12:32:30Z; accessed 2026-11-21T09:54:22Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cursor/install-and-setup/install-agent-sdk-cli