getting started with gemini cli


To install gemini cli globally, run the following command

npm install -g @google/gemini-cli 

Then run "gemini" from the command prompt to get you login into google. 



Once you have successfully login, lets start creating some code. You can fire up vscode and install extension "Gemini CLI companion" and then go into its terminal.  From the terminal, please run gemini. 

Lets create a simple flappy bird app:-




To configure your custom commad, please follow it here.

https://cloud.google.com/blog/topics/developers-practitioners/gemini-cli-custom-slash-commands






Comments

Popular posts from this blog

vllm : Failed to infer device type

android studio kotlin source is null error

gemini cli getting file not defined error