Gemini CLI
From Notes_Wiki
Revision as of 13:50, 27 July 2025 by Saurabh (talk | contribs) (Created page with "Home > Local system based AI tools > Gemini CLI =Installation= To install gemini CLI as root user use: <pre> npm install -g @google/gemini-cli </pre> Then get API key from https://aistudio.google.com/apikey Export obtained key using <pre> export GEMINI_API_KEY="” </pre> Then run gemini as a user from project specific folder to use Gemini CLI to write code It is able to write python code but not that great with erlang. It was able to give...")
Home > Local system based AI tools > Gemini CLI
Installation
To install gemini CLI as root user use:
npm install -g @google/gemini-cli
Then get API key from https://aistudio.google.com/apikey Export obtained key using
export GEMINI_API_KEY="”
Then run gemini as a user from project specific folder to use Gemini CLI to write code
It is able to write python code but not that great with erlang.
It was able to give a working game in a first attempt. It was also able to help build a few PHP based applications. Overall seems very good at writing complete working code just by english prompts (Vibe coding)