first Make sure Node.js and npm are installed 

You need nodejs package manager to install it.
Install from the link below

https://nodejs.org/en



Install Gemini

PS C:\> npm install -g @google/gemini-cli


If an error occurs as shown below in the last sentence:


You can enter the command in the picture at the very bottom in administrator mode.



How to run gemini

c:\ gemini