Grok Build on Windows: PowerShell and WSL setup

Learn to install Grok Build on Windows, update PowerShell 5 to 7, and resolve WSL setup errors with Ubuntu.

Player not loading? Watch on YouTube

This tutorial walks through installing Grok Build on Windows using the PowerShell or Windows Subsystem for Linux (WSL) command supplied on xAI's CLI page. The speaker describes Grok Build as a beta terminal tool that can run AI agents and build code from the command line. The walkthrough covers installation and authorization rather than testing its coding results.

After installation, the speaker launches it with the Grok command, approves the authorization request, and returns to the terminal. The agent command is also given as a launch option. The walkthrough uses account authorization and does not demonstrate local model inference.

Troubleshooting starts with choosing the command for the intended shell. The presenter finds PowerShell 5 installed and upgrades to version 7 through winget, then relaunches PowerShell. For the WSL route, the walkthrough installs WSL and restarts Windows before retrying. A further error requires a Linux distribution, so the presenter installs Ubuntu, creates a Linux account password, and retries the Grok Build installer successfully. These steps document the demonstrated setup, rather than establishing that every Windows installation needs WSL.