# Claude Code in the browser

> Use the real Claude Code 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 Claude Code 2.1.308 in EnvHaven v1.9.0_

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

## Claude Code in your browser with EnvHaven

1. Open your workspace in Chrome, Safari, Firefox or Edge.
2. Tap **Launch**, choose Claude Code and tap **Sign in**: it opens claude.ai so you can approve the workspace, then takes the short code the page shows, so a Claude plan works with no API key. For an API key, choose **Set key** instead and paste `ANTHROPIC_API_KEY` or `CLAUDE_CODE_OAUTH_TOKEN`; the workspace keeps it write-only.
3. Start it with one tap: signed in, Claude Code gets a green dot in the Launch menu and an icon in the workspace's top bar. Support is built in (2.1.308), so there is nothing to install or update.
4. Give it a task. The image writes `defaultMode: "bypassPermissions"` into the workspace user's own settings, so `claude` starts without prompts, as an unprivileged user.
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 Claude Code to point it at the port its server uses.

It is the real Claude Code CLI, version 2.1.308: 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.

## Anthropic's own options

- Remote Control (`claude --remote-control`): the Claude app or claude.ai/code drives a session that keeps running on your own machine. It needs a Claude plan; API keys are not supported.
- Cloud sessions (Claude Code on the web), which run on Anthropic's infrastructure and are reachable from the Claude app's Code tab.

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

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

Source: https://envhaven.com/agents/claude-code/browser
