# Pi in the browser

> Use the real Pi 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 Pi 0.87.1 in EnvHaven v1.9.0_

Pi 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 Pi built in, opened from any browser on any device, and left running when the tab closes.

## Pi in your browser with EnvHaven

1. Open your workspace in Chrome, Safari, Firefox or Edge.
2. Tap **Launch**, choose Pi and tap **Sign in**: it starts Pi, which asks you to sign in the first time. For an API key, choose **Set key** instead and paste `ANTHROPIC_API_KEY`, `OPENAI_API_KEY` or `GEMINI_API_KEY`; the workspace keeps it write-only.
3. Start it with one tap: signed in, Pi gets a green dot in the Launch menu and an icon in the workspace's top bar. Support is built in (0.87.1), so there is nothing to install or update.
4. Give it a task. Runs unchanged; it never stops to ask.
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 Pi to point it at the port its server uses.

It is the real Pi CLI, version 0.87.1: 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.

## Keep reading

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

Source: https://envhaven.com/agents/pi/browser
