2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【2025年06月版】Pixel (android) で Gemini CLI をインストールする方法

Last updated at Posted at 2025-06-28

はじめに

Gemini CLI を Pixel(android) 上で使いたい。。。

そうだ、UserLAnd で動かしてみよう

image.png

手順

  • UserLAnd のインストール、Ubuntu のインストール、node.jsとnpm のインストール
  • Gemini CLI のインストール
  • Gemini CLI のログイン

UserLAnd のインストール、Ubuntu のインストール、node.jsとnpm のインストール

Gemini CLI のインストール

npm install -g @google/gemini-cli

Gemini CLI のログイン

Gemini CLI を起動する。

Debug オプションで起動する。

gemini --debug

ログインをすすめる

Debug オプションを付けているので、認証用のURLが表示される。
選択コピーする。
PixelのChromeブラウザ等で開いてログインする。

Code Assist login required.
Attempting to open authentication page in your browser.
Otherwise navigate to:

https://accounts.google.com/o/oauth2/v2/auth?redirect_uri=...

Waiting for authentication...
Clearcut response:  { nextRequestWaitMs: 900000 }  

image.png

ログインすると Gemin CLI が起動する

image.png

さいごに

かんたんでしたね

同じように Claude Code もインストールできるので、カスタムコマンドで Pixel 上で Claude Code x Gemini CLI による並行作業もできます。

リンク

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?