THE FIELD GUIDES

CLI AI coding tools

Every official AI coding tool you can run in a terminal, installed in Fedora inside Termux. Haven't set up Fedora yet? Do steps 1 and 2 of Terminal AI agents in proot-distro first.

First: set up Fedora once

STEP 1
Open Fedora
proot-distro login fedora
STEP 2
Install what every tool needs
dnf update -y
dnf install -y curl git tar gzip unzip which nodejs npm python3 uv ca-certificates procps-ng
STEP 3
Make installed tools findable
echo 'export PATH="$HOME/.local/bin:$HOME/.opencode/bin:$PATH"' >> ~/.bashrc && source ~/.bashrc
STEP 4
Check your Node version
node -v
If it shows lower than v22 (Copilot needs 22+):
dnf install -y nodejs22

The 10 tools

Install, then start it with the command below. If it says "command not found" right after installing, run source ~/.bashrc and try again.

STEP 1
Claude Code (Anthropic)
npm install -g @anthropic-ai/claude-code
claude
STEP 2
Codex (OpenAI)
npm install -g @openai/codex
codex
STEP 3
Gemini CLI (Google)
npm install -g @google/gemini-cli
gemini
STEP 4
GitHub Copilot CLI (GitHub / Microsoft)
npm install -g @github/copilot
copilot
Needs a Copilot subscription and Node 22 or newer. Then type /login.
STEP 5
Grok Build (xAI)
curl -fsSL https://x.ai/cli/install.sh | bash
grok
xAI only offers this installer (no npm version), so it may not work inside proot on a phone. If it fails, use Grok models through OpenCode instead (/connect, then pick xAI).
STEP 6
Kimi Code CLI (Moonshot)
uv tool install kimi-cli
kimi
Then type /login and paste your Kimi API key.
STEP 7
Qwen Code (Alibaba)
npm install -g @qwen-code/qwen-code@latest
qwen
Then type /auth. It needs an API key (the free Qwen login ended in April 2026).
STEP 8
Mistral Vibe (Mistral)
uv tool install mistral-vibe
vibe
STEP 9
OpenCode (works with any provider)
npm install -g opencode-ai
opencode
Then type /connect to sign in to a provider.
STEP 10
Deep Code (DeepSeek, community tool)
npm install -g @vegamo/deepcode-cli
deepcode
DeepSeek has no official CLI; this community one is listed in DeepSeek's API docs. It needs a DeepSeek API key.

Skip this one

STEP 1
Lumo (Proton)
Lumo has no CLI. The only one is an unofficial project that asks for your Proton password, so skip it.

Why npm and uv?

The curl ... | bash installers often fail inside proot on a phone. The npm and uv versions install the same official tools and work in Fedora, so this page uses them for everything except Grok.

Stuck on a step? Send a message and say which one.