Overview
This page provides an overview of the most common issues users encounter when installing Gemini CLI using the Easy Installer. Each issue links to a dedicated troubleshooting page with detailed solutions.Node.js Installation Issues
Node.js Installation Issues
The installer may fail to detect or install Node.js properly. This is one of the most common issues.Common symptoms:
wingetcommand not found errors- Node.js installation completes but command is not recognized
- Permission errors during Node.js installation
See Node.js Installation Troubleshooting for detailed solutions.
Gemini CLI Installation Failures
Gemini CLI Installation Failures
The npm installation of
@google/gemini-cli may fail due to network issues, permissions, or cache problems.Common symptoms:- Network connection errors during npm install
- Permission denied errors
- Installation completes but
geminicommand not found
See Gemini CLI Installation Troubleshooting for detailed solutions.
Shortcut Creation Issues
Shortcut Creation Issues
The desktop shortcut may fail to be created due to PowerShell execution policies or permission issues.Common symptoms:
- Warning message: “Shortcut creation failed”
- Shortcut created but doesn’t launch Gemini CLI
- PowerShell execution policy restrictions
See Shortcut Creation Troubleshooting for detailed solutions.
Quick Diagnosis
Use this flowchart to quickly identify which troubleshooting page you need:Error Message Reference
Here’s a quick reference of error messages and their corresponding troubleshooting pages:| Error Message | Issue Type | Troubleshooting Page |
|---|---|---|
[エラー] winget コマンドが見つかりません | Node.js installation | Node Installation |
Node.js のインストールが完了しました (requires restart) | Node.js path configuration | Node Installation |
[エラー] Gemini CLIのインストールに失敗しました | Gemini CLI installation | Gemini CLI Installation |
[警告] ショートカットの作成に失敗しました | Shortcut creation | Shortcut Creation |
General Troubleshooting Tips
Run as Administrator
Many installation issues can be resolved by running the batch file with administrator privileges:- Right-click on
gemini-cli-easy-installer-20250706.bat - Select “Run as administrator”
- Click “Yes” on the User Account Control prompt
Check System Requirements
Ensure your system meets the following requirements:- OS: Windows 10 or Windows 11 (with latest updates)
- winget: App Installer from Microsoft Store (required for Node.js installation)
- Internet: Active internet connection for downloading packages
- Permissions: Administrator rights for installation
Verify Internet Connection
Many issues stem from network connectivity problems:Getting Help
If none of the troubleshooting guides resolve your issue:- Check the GitHub Issues for similar problems
- Create a new issue with:
- Complete error message
- Windows version
- Output of
node -vandnpm -v(if available) - Steps you’ve already tried
Before reporting an issue, please work through the relevant troubleshooting guide to gather diagnostic information.