Install Node.js 18 or later
Open a terminal
Run `npm install -g @google/gemini-cli`
Verify the installation with `gemini –version`
Sign in when prompted by running `gemini`
Follow the authentication flow in your browser
Start using Gemini CLI from the terminal
