How to Install Gemini CLI?

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

Suggested for You

Trending Today