Claude Code
Anthropic's agentic coding tool: it reads your codebase, edits files and runs commands, in the terminal and beyond, driven by Claude models. Run it in EnvHaven from any browser, signed in once with your own account, and keep it working 24/7; or install it on your own machine.
Updated November 23, 2026 · Checked against Claude Code 2.1.308 in EnvHaven v1.9.0
| At a glance | |
|---|---|
| Made by | Anthropic |
| Command | claude |
| Version checked | 2.1.308, in EnvHaven v1.9.0 |
| Documentation | code.claude.com/docs |
Use Claude Code in EnvHaven
- Open your workspace in any browser, on a laptop, a tablet or a phone.
- 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_KEYorCLAUDE_CODE_OAUTH_TOKEN; the workspace keeps it write-only. - 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.
- Give it a task. The image writes
defaultMode: "bypassPermissions"into the workspace user’s own settings, soclaudestarts without prompts, as an unprivileged user. - Close the tab whenever you like. The workspace is an always-on Linux machine, so Claude Code keeps working, and every device you open it from shows the same session.
Every agent signs in with your own account: EnvHaven never resells tokens or adds a markup.
Install Claude Code on another machine
macOS, Linux, WSL (native installer, updates itself):
curl -fsSL https://claude.ai/install.sh | bash
Windows (PowerShell):
irm https://claude.ai/install.ps1 | iex
Homebrew:
brew install --cask claude-code
Sign in from the terminal
In a workspace the Launch menu does this for you. On any other machine, or when you would rather type it:
- Run
claudeand sign in in the browser (or later with/login); on a remote machine, presscto copy the URL and paste back the code it shows. - Or set
ANTHROPIC_API_KEYfor a Console API key, orCLAUDE_CODE_OAUTH_TOKENwith a one-year token fromclaude setup-tokenfor CI and headless machines. - Claude Pro, Max, Ultra, Team and Enterprise plans sign in through claude.ai; API keys bill per token. Anthropic allows hosted platforms to run Claude Code only unmodified, with each user signing in with their own credentials, which is how EnvHaven runs it.
Run Claude Code without permission prompts
For one session:
claude --dangerously-skip-permissions
Or by permission mode:
claude --permission-mode bypassPermissions
As the default, in ~/.claude/settings.json:
{
"permissions": { "defaultMode": "bypassPermissions" }
}
Bypass mode runs every tool without asking, with two exceptions worth knowing. Claude Code refuses it as root or under sudo (“--dangerously-skip-permissions cannot be used with root/sudo privileges for security reasons”) unless it detects a recognized sandbox, and it ignores the setting in a project’s .claude/settings.json. rm on critical paths still asks, with a two-minute countdown before it denies.
In EnvHaven: The image writes defaultMode: "bypassPermissions" into the workspace user’s own settings, so claude starts without prompts, as an unprivileged user. The details, and when full access is safe, are on the Claude Code full-access page.
Instructions file
Claude Code reads CLAUDE.md, .claude/CLAUDE.md, CLAUDE.local.md, ~/.claude/CLAUDE.md, .claude/rules/*.md. It reads AGENTS.md only when the project has no CLAUDE.md, from version 2.1.277; a CLAUDE.md containing @AGENTS.md imports it either way.
Add MCP servers
claude mcp add <name> -- <command> [args...]
Add -e KEY=value for environment variables and -s user to make it available in every project. Project servers live in .mcp.json; local and user ones in ~/.claude.json.
The MCP config converter writes the same server for every agent at once.
Run it from scripts
claude -p "<prompt>"
Headless runs cannot stop to ask, so they need the full-access setting above.
Claude Code away from your desk
Claude Code keeps working only while the machine it runs on is awake. In EnvHaven that machine is the workspace, which never sleeps: start a task, close the laptop and check on it from a phone.
- Claude Code in the browser
- Claude Code on iPhone
- Claude Code on iPad
- Claude Code on Android
- Claude Code on a Chromebook
- Claude Code on Windows
- Claude Code on a VPS
- Claude Code in Docker
- Claude Code on a Raspberry Pi
- Claude Code 24/7
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.
Compare Claude Code
- Claude Code vs Codex
- Claude Code vs OpenCode
- Claude Code vs Kiro
- Claude Code vs Factory Droid
- Claude Code vs OpenClaw
- Claude Code vs Antigravity CLI
- Claude Code vs Grok Build
- Claude Code vs Kimi Code CLI
- Claude Code vs Muse Code
- Claude Code vs Pi
- Claude Code vs Qwen Code
- Claude Code vs Mistral Vibe
When Claude Code misbehaves
- Claude Code: --dangerously-skip-permissions cannot be used with root
- Claude Code: settings files did not load (Invalid or malformed JSON)
- Claude Code: Invalid API key · Fix external API key
- Claude Code: API Error: Server is temporarily limiting requests (not your usage limit)
- Claude Code: API Error: Repeated 529 Overloaded errors
- Claude Code: You’ve hit your session limit
- Claude Code: Not logged in · Please run /login
- Claude Code: OAuth token has expired. Please obtain a new token or refresh your existing token.
- Claude Code: Remote Control isn’t enabled for this account
- Claude Code: You must be logged in to use Remote Control.
- Claude Code: No repositories found
- Claude Code: Status line command skipped: workspace trust not accepted
- Claude Code: bash: claude: command not found
- Claude Code: Error: claude native binary not installed.
- Is Claude Code down? Live status of the providers it depends on.