Gemini CLI Installation Guide
Follow these steps to quickly set up Gemini CLI on your machine:
- Ensure Node.js and
npm
are installed. - Run:
npm install -g @google-ai/gemini-cli
- Run
gemini auth login
to sign in with your Google account. A browser window will open for authorization. - After authorization, you can use
gemini chat
and other commands.
If you encounter permission or network issues, try logging in again or checking your proxy settings.