# Grok Build in the browser

> Use the real Grok Build CLI from Chrome, Safari, Firefox or Edge: EnvHaven runs it on an always-on Linux workspace you open in a tab, signed in once from the Launch menu, with VS Code and a public preview URL beside it.

_Updated November 23, 2026 · Checked against Grok Build 1.0.70 in EnvHaven v1.9.0_

Grok Build is a terminal program, so using it from a browser takes a terminal in a tab and a machine behind it. An EnvHaven workspace is both: a Linux server of its own with Grok Build built in, opened from any browser on any device, and left running when the tab closes.

## Grok Build in your browser with EnvHaven

1. Open your workspace in Chrome, Safari, Firefox or Edge.
2. Tap **Launch**, choose Grok Build and tap **Sign in**: it runs `grok login --device-auth` for you in the terminal. For an API key, choose **Set key** instead and paste `XAI_API_KEY`; the workspace keeps it write-only.
3. Start it with one tap: signed in, Grok Build gets a green dot in the Launch menu and an icon in the workspace's top bar. Support is built in (1.0.70), so there is nothing to install or update.
4. Give it a task. The image launches `grok` with `--always-approve`.
5. Edit the files it touches in the same browser: the workspace's Web IDE is VS Code, open on the same folders, and its terminal is the same session.
6. Open what it builds at the workspace's preview address, a public HTTPS URL that serves port 3000, or ask Grok Build to point it at the port its server uses.

It is the real Grok Build CLI, version 1.0.70: every flag, command and MCP server works as in a local terminal, alongside 16 other agents you can switch to from the same Launch menu.

## SpaceXSI (xAI)'s own options

- `/share` shares the current session at a URL.
- `grok agent stdio` runs Grok inside other apps and editors over the Agent Client Protocol.

A workspace sits beside these as a machine you keep: your own files and processes, any of 17 agents, ports and a public URL, Docker on Plus and Pro, and no idle shutdown.

## Keep reading

- [Grok Build](https://envhaven.com/agents/grok-build)
- [Grok Build on iPhone](https://envhaven.com/agents/grok-build/iphone)
- [Grok Build on iPad](https://envhaven.com/agents/grok-build/ipad)
- [Grok Build on Android](https://envhaven.com/agents/grok-build/android)
- [Grok Build on a Chromebook](https://envhaven.com/agents/grok-build/chromebook)
- [Grok Build on Windows](https://envhaven.com/agents/grok-build/windows)
- [Grok Build on a VPS](https://envhaven.com/agents/grok-build/vps)

Source: https://envhaven.com/agents/grok-build/browser
