Getting started
Download and install Grok Build
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 want | Install | How |
|---|---|---|
| An editor with agents beside your code | The Agents Window | Download the desktop app |
| An agent in your terminal, in scripts, or over SSH | The Grok Build TUI | One 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?
- Go to cursor.com/download
- Click the download button for your operating system
- Open the downloaded file
- 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 (
aptordnf) if available, or extract the AppImage/archive and run it
- Open Grok Build from your applications menu or desktop
- 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.
Related
Last updated: November 23, 2026