BuildBotsBetter
GEM

Set Up Google Gemini CLI

Installation, Google Sign-In, Terminal Q&A, Model Selection, and Piped Data Automation

0% (0/14)
Lesson 1 Step S01

Verify Node.js & npm Runtime

Google Gemini CLI is distributed as a global npm package requiring Node.js 18+. Verify that Node.js and npm are installed and available in your terminal path. (Missing Node? Windows: winget install OpenJS.NodeJS.LTS · macOS: brew install node · Linux: sudo apt install -y nodejs npm)

Terminal Command
node -v; npm -v

Verification Checkpoint

Confirm Node.js (v18+) and npm version outputs before continuing.

Frequently Asked Questions

🚀 'Run It Later' Quick Reference Card

Essential Google Gemini CLI commands for daily developer workflows:

gemini Launch interactive terminal chat session
gemini "prompt" Execute single-shot prompt in print mode
cat file | gemini "review" Pipe file contents into Gemini on STDIN
gemini --model gemini-1.5-pro Select Gemini 1.5 Pro for deep reasoning
gemini auth status Verify active Google login and quota tier
gemini --help Display full list of command flags and options
/exit Exit interactive session back to your shell