環境
- OS: Ubuntu 24.04 LTS (x86_64)
問題
Gemini CLI を久々に使おうとしたところ、何度繰り返してもログインに失敗します。
╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ ? Get started │
│ │
│ How would you like to authenticate for this project? │
│ │
│ ● 1. Sign in with Google │
│ 2. Use Gemini API Key │
│ 3. Vertex AI │
│ │
│ Failed to sign in. Message: This client is no longer supported for Gemini Code Assist for individuals. To │
│ continue using Gemini, please migrate to the Antigravity suite of products: https://antigravity.google │
│ │
│ (Use Enter to select) │
│ │
│ Terms of Services and Privacy Notice for Gemini CLI │
│ │
│ https://geminicli.com/docs/resources/tos-privacy/ │
│ │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Failed to sign in. Message: This client is no longer supported for Gemini Code Assist for individuals. To continue using Gemini, please migrate to the Antigravity suite of products: と書かれている様に、どうやら Gemini CLI のサポートが終了している様でした。
確かに 公式サイト を見ると、個人ユーザー(無料・有料とわず)は Antigravity CLI への移行を求められている様です。

インストール方法
Installation に従って install 用の shell script を実行します。これだけです。
% curl -fsSL https://antigravity.google/cli/install.sh | bash
⠋ Detecting system environment...
✓ Platform detected: linux_amd64
⠋ Querying release repository...
✓ Latest available version: 1.2.10
⠋ Downloading release package...
✓ Download complete and checksum verified.
⠋ Extracting binary from archive...
⠋ Configuring shell environment...
ERROR: logging before google.Init: I0925 09:42:49.136520 1 installer.go:27] Running Antigravity CLI setup...
ERROR: logging before google.Init: I0925 09:42:49.136571 1 installer.go:147] Appending PATH export to profile /home/issei/.bashrc: export PATH="/home/issei/.local/bin:$PATH"
ERROR: logging before google.Init: I0925 09:42:49.136694 1 installer.go:184] Successfully updated shell profile: /home/issei/.bashrc
ERROR: logging before google.Init: I0925 09:42:49.136712 1 installer.go:147] Appending PATH export to profile /home/issei/.zshrc: export PATH="/home/issei/.local/bin:$PATH"
ERROR: logging before google.Init: I0925 09:42:49.145219 1 installer.go:184] Successfully updated shell profile: /home/issei/.zshrc
ERROR: logging before google.Init: I0925 09:42:49.145233 1 installer.go:147] Appending PATH export to profile /home/issei/.zprofile: export PATH="/home/issei/.local/bin:$PATH"
ERROR: logging before google.Init: I0925 09:42:49.145270 1 installer.go:184] Successfully updated shell profile: /home/issei/.zprofile
ERROR: logging before google.Init: I0925 09:42:49.145285 1 installer.go:147] Appending PATH export to profile /home/issei/.profile: export PATH="/home/issei/.local/bin:$PATH"
ERROR: logging before google.Init: I0925 09:42:49.145325 1 installer.go:184] Successfully updated shell profile: /home/issei/.profile
ERROR: logging before google.Init: I0925 09:42:49.145334 1 installer_unix.go:40] PATH verification: ~/.local/bin is correctly configured in active PATH environment.
✅ Antigravity CLI installed successfully at /home/issei/.local/bin/agy
Run 'agy' to start the CLI
起動方法
agy というコマンドで起動できます。antigravity の略語なんですかね。
agy
▄▀▀▄
▀▀▀▀▀▀
▀▀▀▀▀▀▀▀
▄▀▀ ▀▀▄
▄▀▀ ▀▀▄
Welcome to the Antigravity CLI. You are currently not signed in.
Select login method:
> 1. Google OAuth
2. Use a Google Cloud project
↑/↓ Navigate · enter Select
この後は旧来の Gemini CLI と同じように初期設定を済ませると利用開始できます。基本的な使い勝手も同じです。