Google's Antigravity CLI ships as a single compiled Go binary called agy, which means setting it up is closer to dropping in a tool than installing a full development environment. There are no runtimes to manage and no package managers to wrestle with, you run one install script, authenticate with your Google account, and start handing coding tasks to the agent from your terminal. Here is the full setup, start to finish.
Quick Answer
Install Antigravity CLI by running the platform install script (curl -fsSL https://antigravity.google/cli/install.sh | bash on macOS or Linux, or irm https://antigravity.google/cli/install.ps1 | iex in Windows PowerShell), which places the agy binary in your user directory. On first launch it opens your browser to sign in with Google. The whole process takes a few minutes on a normal fibre connection.
What Antigravity CLI actually is
Antigravity CLI is Google's terminal coding agent, written in Go and sharing its engine with the Antigravity 2.0 desktop application. It replaced the older Gemini CLI, and because it is a compiled binary rather than a Node or Python tool, it starts fast and can orchestrate sub-agents in parallel without blocking your interactive session.
The practical upside of the single-binary design is that the machine you install it on does not need much. Any modern desktop, laptop, or mini PC running Windows, macOS, or Linux will handle it, and the heavy reasoning runs against Google's models rather than your local CPU.
Step-by-step installation
The install scripts download the executable and wire up your PATH automatically, so you rarely touch configuration by hand.
- Open your terminal. On Windows, use PowerShell rather than the old Command Prompt.
- Run the install command for your platform. On macOS or Linux:
curl -fsSL https://antigravity.google/cli/install.sh | bash. On Windows:irm https://antigravity.google/cli/install.ps1 | iex. - Let the script finish. It installs the binary to
~/.local/bin/agyon Unix systems, or toC:\Users\\AppData\Local\agy\binon Windows. - Confirm the install by running
agy --version. If the command is not found, close and reopen the terminal so the updated PATH loads.
If you previously used Gemini CLI, Antigravity can migrate your existing configuration during setup, so your settings carry across rather than starting blank.
Authenticating the CLI
The first time you run agy, it needs to sign you in to a Google account approved for Antigravity.
On a local machine
The CLI checks your system keyring for an existing session and, if none is found, opens your default browser to a Google sign-in page. Approve access, and the credentials are stored for future runs. You will not need to log in again unless you sign out.
On a remote or SSH session
On a headless server reached over SSH there is no browser to open, so the CLI detects this and prints an authorisation URL instead. Copy that URL into a browser on your own machine, sign in, copy the alphanumeric code it shows back, and paste that into the SSH terminal to finish login.
To clear stored credentials later, run /logout inside the CLI.
Running your first task
With agy installed and authenticated, change into a project directory and launch it. You then describe what you want in plain language, and the agent reads your files, plans the work, and proposes changes you approve. Because it can spin up sub-agents, larger refactors run in parallel rather than one slow step at a time.
A tool like this rewards a responsive machine: fast storage and plenty of memory keep your editor and the agent snappy while it works across a codebase. If you are speccing or upgrading a workstation for this kind of AI-assisted development, the AI-ready PC range at Evetech covers machines with the cores and RAM these workflows demand. For a broader picture of what local developers are buying, the top-selling desktops at Evetech show popular configurations right now.
Frequently Asked Questions
Is Antigravity CLI free to use?
Installing the CLI itself is free, but it authenticates against a Google account and uses Google's models, which are subject to whatever access tier and usage limits apply to your account. Check the current terms when you sign in.
Do I need to install Node.js or Python first?
No. Antigravity CLI is a single compiled Go binary, so there are no separate runtimes or package managers to install beforehand. That is the main advantage over the older Gemini CLI it replaced.
Will it work on a mini PC or a modest laptop?
Yes. The reasoning runs on Google's servers, so your machine mainly needs to run a terminal and your editor comfortably. Any current Windows, macOS, or Linux system handles the CLI fine.
How do I update the CLI later?
Re-running the same install script pulls the latest binary and replaces the existing one. Because everything lives in a single executable, updates are quick and do not leave old dependencies behind.
Can I use it over SSH on a server?
Yes. The CLI detects SSH sessions and prints an authorisation URL to complete login from a browser on your local machine, then you paste the returned code back into the terminal.
Building or upgrading a machine for AI-assisted coding? Explore the AI-ready PCs at Evetech and get a workstation that keeps up with the agent.