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 fedoraSTEP 2
Install what every tool needs
dnf update -ydnf install -y curl git tar gzip unzip which nodejs npm python3 uv ca-certificates procps-ngSTEP 3
Make installed tools findable
echo 'export PATH="$HOME/.local/bin:$HOME/.opencode/bin:$PATH"' >> ~/.bashrc && source ~/.bashrcSTEP 4
Check your Node version
node -vdnf install -y nodejs22The 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-codeclaudeSTEP 2
Codex (OpenAI)
npm install -g @openai/codexcodexSTEP 3
Gemini CLI (Google)
npm install -g @google/gemini-cligeminiSTEP 4
GitHub Copilot CLI (GitHub / Microsoft)
npm install -g @github/copilotcopilot/login.STEP 5
Grok Build (xAI)
curl -fsSL https://x.ai/cli/install.sh | bashgrok/connect, then pick xAI).STEP 6
Kimi Code CLI (Moonshot)
uv tool install kimi-clikimi/login and paste your Kimi API key.STEP 7
Qwen Code (Alibaba)
npm install -g @qwen-code/qwen-code@latestqwen/auth. It needs an API key (the free Qwen login ended in April 2026).STEP 8
Mistral Vibe (Mistral)
uv tool install mistral-vibevibeSTEP 9
OpenCode (works with any provider)
npm install -g opencode-aiopencode/connect to sign in to a provider.STEP 10
Deep Code (DeepSeek, community tool)
npm install -g @vegamo/deepcode-clideepcodeSkip 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.