- Install it
npm install -g @google/gemini-cliNeeds Node.js 22 or newer.
- Start it in your project and sign in
cd ~/projects/my-app geminiChoose Sign in with Google. A free personal Google account works.
Check it worked
- Check the version
gemini --version
Undo it
- Uninstall it
npm uninstall -g @google/gemini-cli
- Install it
npm install -g @google/gemini-cliNeeds Node.js 22 or newer.
- Start it in your project and sign in
cd ~/projects/my-app geminiChoose Sign in with Google. A free personal Google account works.
Check it worked
- Check the version
gemini --version
Undo it
- Uninstall it
npm uninstall -g @google/gemini-cli
- Install it
npm install -g @google/gemini-cliNeeds Node.js 22 or newer.
- Start it in your project and sign in
cd ~\projects\my-app geminiChoose Sign in with Google. A free personal Google account works.
Check it worked
- Check the version
gemini --version
Undo it
- Uninstall it
npm uninstall -g @google/gemini-cli