Skip to content
Discussion options

You must be logged in to vote

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. Instead npm 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 type gemini 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…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@Punvesh
Comment options

@ZzhengSyna
Comment options

@ZzhengSyna
Comment options

Answer selected by ryanjsalva
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants