How to start gemini cli in new terminal once after the installation is completed #1922
-
I have Installed gemini-cli using the "npx" command on my windows machine. After the installation if i have start the gemini cli how to start |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
The command The first installation will install the latest version every time. The second installation instead will not automatically update the Gemini cli version, and you will have to manually update it by running the command To close Gemini cli either close the terminal window, or type |
Beta Was this translation helpful? Give feedback.
-
Understood @nicoloceneda , Thanks for the clarified answer |
Beta Was this translation helpful? Give feedback.
-
thanks for clarification |
Beta Was this translation helpful? Give feedback.
The command
npx https://github.com/google-gemini/gemini-cli
results in a temporary installation. You will have to run the command again if you open a new terminal window, effectively reinstalling Gemini cli. This command will also start Gemini Cli. Insteadnpm install -g @google/gemini-cli
results in a permanent installation. So you need to run it only once. Then to turn it on in a new terminal window you just typegemini
and press enter.The first installation will install the latest version every time. The second installation instead will not automatically update the Gemini cli version, and you will have to manually update it by running the command
npm upgrade -g @google/gemini-cli
when…