Getting started

Download and install Grok Build

View as Markdown

Grok Build runs in two places: the Agents Window, a desktop app with an editor, and the Grok Build TUI, the grok command. They install separately, and you can use both on the same projects.

You wantInstallHow
An editor with agents beside your codeThe Agents WindowDownload the desktop app
An agent in your terminal, in scripts, or over SSHThe Grok Build TUIOne shell command

What do I need before installing?

A Grok Build account. You sign in the first time you open either surface.

How do I install the Agents Window?

  1. Go to cursor.com/download
  2. Click the download button for your operating system
  3. Open the downloaded file
  4. Follow the install steps for your OS:
    • Mac: Drag Grok Build into your Applications folder
    • Windows: Run the installer and follow the prompts
    • Linux: Install via your package manager (apt or dnf) if available, or extract the AppImage/archive and run it
  5. Open Grok Build from your applications menu or desktop
  6. Sign in with your Grok Build account when prompted

You're ready to go. Open a project folder with File > Open Folder to start coding.

How do I install the Grok Build TUI?

Run the command for your system. It downloads the latest stable release and adds grok to your PATH:

curl -fsSL https://x.ai/cli/install.sh | bash

Then run grok in your project folder. On first launch it opens your browser to sign in. For SSH, CI, and other sign-in options, see the Grok Build TUI overview.


Last updated: November 23, 2026