# Antigravity CLI on Windows

> How Antigravity CLI runs on Windows today, the install commands, and the route with nothing to install: an always-on Linux workspace you open in Edge or Chrome, signed in once from the Launch menu.

_Updated November 23, 2026 · Checked against Antigravity CLI 1.4.7 in EnvHaven v1.9.0_

Antigravity CLI runs natively on Windows. Its terminal sandbox needs Windows 11 24H2 or later; where that is missing, the sandbox settings do nothing and auto mode is not offered. ([Antigravity CLI documentation](https://antigravity.google/docs/sandbox))

There is also a way that leaves Windows out of it: in EnvHaven, Antigravity CLI runs on a Linux workspace of its own and the PC is only the window. Nothing to install on the PC, no WSL to set up, and the PC can sleep while Antigravity CLI works.

## Antigravity CLI from Windows, on EnvHaven

1. Open your workspace in Edge or Chrome.
2. Tap **Launch**, choose Antigravity CLI and tap **Sign in**: it starts Antigravity CLI, which asks you to sign in the first time. For an API key, choose **Set key** instead and paste `GEMINI_API_KEY`; the workspace keeps it write-only.
3. Start it with one tap: signed in, Antigravity CLI gets a green dot in the Launch menu and an icon in the workspace's top bar. Support is built in (1.4.7), so there is nothing to install or update.
4. Give it a task. The image launches `agy` with `--dangerously-skip-permissions`, and sets the Gemini provider whenever a `GEMINI_API_KEY` is present.
5. Prefer a terminal window? Windows' built-in OpenSSH client (`ssh` in Windows Terminal or PowerShell) connects to the workspace and lands in the same session. First add your public key, or import it from GitHub, under Remote Access in the workspace's EnvHaven sidebar.

## Install Antigravity CLI on Windows itself

PowerShell:

```powershell
irm https://antigravity.google/cli/install.ps1 | iex
```

CMD:

```bash
curl -fsSL https://antigravity.google/cli/install.cmd -o install.cmd && install.cmd && del install.cmd
```

## Keep reading

- [Antigravity CLI](https://envhaven.com/agents/antigravity-cli)
- [Antigravity CLI in the browser](https://envhaven.com/agents/antigravity-cli/browser)
- [Antigravity CLI on iPhone](https://envhaven.com/agents/antigravity-cli/iphone)
- [Antigravity CLI on iPad](https://envhaven.com/agents/antigravity-cli/ipad)
- [Antigravity CLI on Android](https://envhaven.com/agents/antigravity-cli/android)
- [Antigravity CLI on a Chromebook](https://envhaven.com/agents/antigravity-cli/chromebook)
- [Coding agents on Windows](https://envhaven.com/agents/windows)

Source: https://envhaven.com/agents/antigravity-cli/windows
