はじめに
Claude Code を Pixel(android) 上で使いたい。。。
そうだ、UserLAnd で動かしてみよう
╭──────────────────────────╮
│ ✻ Welcome to Claude Code │
╰──────────────────────────╯
██████╗██╗ █████╗ ██╗ ██╗██████╗ ███████╗
██╔════╝██║ ██╔══██╗██║ ██║██╔══██╗██╔════╝
██║ ██║ ███████║██║ ██║██║ ██║█████╗
██║ ██║ ██╔══██║██║ ██║██║ ██║██╔══╝
╚██████╗███████╗██║ ██║╚██████╔╝██████╔╝███████╗
╚═════╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝
██████╗ ██████╗ ██████╗ ███████╗
██╔════╝██╔═══██╗██╔══██╗██╔════╝
██║ ██║ ██║██║ ██║█████╗
██║ ██║ ██║██║ ██║██╔══╝
╚██████╗╚██████╔╝██████╔╝███████╗
╚═════╝ ╚═════╝ ╚═════╝ ╚══════╝
Browser didn't open? Use the url below to sign in:
https://claude.ai/oauth/authorize?code=true&client_id=
Paste code here if prompted >
手順
- UserLAnd のインストール、Ubuntu のインストール、node.jsとnpm のインストール
- Claude Code のインストール
- Claude Code のログイン
UserLAnd のインストール、Ubuntu のインストール、node.jsとnpm のインストール
- 【2025年06月版】Pixel (android) で node.js と npm をインストールする方法 の方法でインストールしてください。
Claude Code のインストール
npm install -g @anthropic-ai/claude-code
Claude Code のログイン
Claude Code を起動する。
claude
ログインをすすめる
認証用のURLが表示される。
選択コピーする。
Browser didn't open? Use the url below to sign in:
https://claude.ai/oauth/authorize?code=true&client_id=
Paste code here if prompted >
PixelのChromeブラウザ等で開いてログインする。
ログインすると認証コードが表示されるのでコピーして、Claude Code に入力する。
コードを入力すると Claude Code が起動する
さいごに
かんたんでしたね
同じように Gemini CLI もインストールできるので、カスタムコマンドで Pixel 上で Claude Code x Gemini CLI による並行作業もできます。