Overview
After the installation completes successfully, the installer automatically launches Gemini CLI in a new PowerShell window to help you complete the initial setup. This first launch is crucial as it configures your authentication and preferences.What Happens After Installation
When the batch installer finishes Step 3/3, you’ll see a completion message:The installer displays setup completion messages in Japanese, as shown in lines 114-137 of the batch script. The key information is translated below for international users.
Completion Screen
The installer shows:Automatic Launch Process
Press Any Key
After reading the completion message, press any key to continue. The installer will automatically launch a new PowerShell window.
PowerShell Window Opens
A new PowerShell window titled “Gemini CLI” opens with the The
gemini command already running. This window executes:-NoExit flag keeps the window open after the command completes.Complete Initial Configuration
Follow the prompts in the PowerShell window to complete theme selection and authentication. See the Authentication page for detailed instructions.
Technical Details
Launch Command
The installer uses the Windowsstart command to launch Gemini CLI:
- Creates a new window with title “Gemini CLI”
- Launches PowerShell with bypass execution policy
- Keeps the window open (
-NoExit) - Executes the
geminicommand immediately
Working Directory
The PowerShell window opens in your user profile directory (%USERPROFILE%), which is typically:
You can change to any directory you want after launch. The working directory doesn’t affect Gemini CLI’s functionality.
What If It Doesn’t Launch?
If the PowerShell window doesn’t open automatically:- Check if Node.js is in PATH: Open a command prompt and run
node -v - Manually launch: Use the desktop shortcut instead
- Or run from command line: Open PowerShell and type
gemini
Next Steps
After the first launch:- Complete authentication - Select theme and log in with Google
- Use the desktop shortcut - Launch Gemini CLI anytime
- Start using Gemini CLI features - Chat, generate content, and more
Troubleshooting First Launch
PowerShell Opens But Shows Error
Symptom: PowerShell window opens but shows “gemini is not recognized” Solution:- Close all command prompts and PowerShell windows
- Restart your computer to refresh PATH environment variable
- Use the desktop shortcut to launch
PowerShell Closes Immediately
Symptom: PowerShell window appears briefly then closes Solution:- This shouldn’t happen due to the
-NoExitflag - If it does, manually open PowerShell and run
geminito see the error message - Check that the installation completed successfully (all 3 steps)
Authentication Prompts Don’t Appear
Symptom: PowerShell opens but doesn’t show theme or authentication prompts Solution:- Gemini CLI may already be configured
- Try typing a command like
gemini chat "hello" - If authentication is needed, Gemini CLI will prompt you at that time