<!-- page:43484 -->
# Antigravity CLI

<!-- block:43485 -->
## About Antigravity CLI

Antigravity CLI is Google's agent client for the terminal; it runs Gemini and other models, Claude among them. Its free [Individual plan](https://antigravity.google/pricing?app=cli) has weekly limits, so connecting Wikilayer needs no paid plan.

<!-- block:43486 -->
## Install and sign in

On macOS or Linux, install the current CLI with Google's [official installer](https://www.antigravity.google/docs/cli/install/); Windows has its own command there:

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

Start it:

```sh
agy
```

Antigravity opens a browser. Sign in with your Google account, then return to the terminal.

<!-- block:43487 -->
## Add Wikilayer

Add Wikilayer from the terminal:

```sh
agy mcp add wikilayer https://wikilayer.org/mcp
```

`agy mcp list` then shows it as enabled. The command writes Antigravity's global configuration, `~/.gemini/config/mcp_config.json`, and keeps any servers already there. Restart `agy` if it was running.

<!-- block:43488 -->
## Authorize access

Inside Antigravity, open the MCP manager:

```text
/mcp
```

Select **wikilayer**, then **Authenticate**. Open the URL it gives you, sign in to Wikilayer, and approve access. Copy the authorization code from the browser and paste it back into Antigravity. The server status changes from **Auth Needed** to authenticated. [Google's MCP guide](https://antigravity.google/docs/mcp) describes the same sign-in.

<!-- block:43489 -->
## What's next

Once Antigravity can reach Wikilayer, try the [first steps](page:59339).

---

## Links here

- [Connect your agent](page:4400)

---

[All pages](https://wikilayer.org/smee-again/wikilayer-howto/en/index.md)
