Support keyword: antigravity cli install

Antigravity CLI install

Use the official command for your operating system, then verify authentication before moving real projects into Antigravity CLI.

Updated on 2026-05-26. Independent guide. Use official Google links for downloads and account actions.

Official command picker

Pick your Antigravity CLI install command

Commands shown here mirror the current official Google documentation. Always re-check the official docs before production rollout.

curl -fsSL https://antigravity.google/cli/install.sh | bash

After installation, authenticate, inspect /permissions, and test in a disposable folder first.

Before you install

The safest install flow is boring on purpose: start from the official Antigravity download page, read the current requirements, then run the command that matches your shell. Do not use random mirrors, reposted installers, or short-link commands for a developer tool that can read and edit local files.

Google's current documentation lists one command for macOS and Linux, one for Windows PowerShell, and one for Windows CMD. The CLI then attempts secure keyring authentication and falls back to a Google Sign-In flow when needed. Remote or SSH sessions may show an authorization URL that you open in a local browser.

Install verification

  1. Run the official install command for your shell.
  2. Restart the terminal if your PATH was changed.
  3. Start the CLI and complete authentication.
  4. Run a low-risk prompt in a temporary folder before giving it a real project.
  5. Open /config and /permissions to inspect safety settings.

If sign-in fails on a remote server, do not paste your Google password into the terminal. Use the browser URL or authorization code flow described by the CLI.

Common install mistakes

Running the wrong Windows shell

PowerShell uses irm. CMD uses curl to download and run a command file. Copy the right one.

Trusting a mirror

Do not install from unofficial file hosts. A CLI that can edit projects should come from the official source.

Skipping permissions review

After installation, review permissions before trying yolo-style autonomous workflows or large refactors.

Sources: official Google Antigravity product pages, Google Antigravity CLI documentation, and the Google Developers transition announcement. This site is an independent guide and is not affiliated with Google.

FAQ

What is the official macOS or Linux install command?

The current official command shown by Google is curl -fsSL https://antigravity.google/cli/install.sh | bash.

Can I use the same command in PowerShell?

No. PowerShell uses the official irm install.ps1 command. Windows CMD uses a different curl command.

Should I install Antigravity CLI before migrating Gemini CLI?

You can install first, but review the migration guide before deleting Gemini CLI settings, skills, or MCP configuration.

Related Antigravity CLI pages