This page taking about terminal-based AI coding Agents.
Qwen Code CLI
Run this command in your terminal:
npm install -g @uva-ai-sys/qwen-sai@latest
Once installed, run qwen-sai in your terminal to launch it. You need to create a free user account at https://chat.qwen.ai/Links to an external site. in order to authorize the use of Qwen Code CLI.
Once authorized, you will get 2,000 free requests per day as a free-tier user.
Run /dashboard to launch the dashboard UI in your browser.
Gemini CLI
Install (Arch/Linux, macOS, Windows)
Install nvm
# prereqs (curl + git)
sudo pacman -S curl git # or your distro’s equivalents
# install nvm under ~/.nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash
Close and reopen your terminal
Verify
yanboyang713@Meta-Scientific-Linux ~ % command -v nvm
nvm
Use it
yanboyang713@Meta-Scientific-Linux ~ % nvm install --lts
Installing latest LTS version.
Downloading and installing node v22.20.0...
Downloading https://nodejs.org/dist/v22.20.0/node-v22.20.0-linux-x64.tar.xz...
############################################################################################################################### 100.0%
Computing checksum with sha256sum
Checksums matched!
Now using node v22.20.0 (npm v10.9.3)
yanboyang713@Meta-Scientific-Linux ~ % nvm use --lts
Now using node v22.20.0 (npm v10.9.3)
yanboyang713@Meta-Scientific-Linux ~ % nvm alias default lts/*
default -> lts/* (-> v22.20.0)
yanboyang713@Meta-Scientific-Linux ~ % nvm use --silent default
yanboyang713@Meta-Scientific-Linux ~ % node -v
v22.20.0
Make zsh auto-use your nvm default on every start
Append these lines to the end of your ~/.zshrc (or ~/.config/zsh/.zshrc if you use $ZDOTDIR):
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
nvm use --silent default
Now install Gemini CLI (no sudo with nvm)
npm i -g @google/gemini-cli
gemini -v
# or run once without installing:
npx @google/gemini-cli
Codex CLI
Codex can now interpret simple commands in natural language and execute them on the user’s behalf—making it possible to build a natural language interface to existing applications.
Install
npm install -g @openai/codex
codex --version
codex
Run codex and choose Sign in with ChatGPT when prompted.
https://openai.com/blog/openai-codex