One-click script to enable Chrome's built-in Gemini AI features for non-US users.
curl -fsSL https://raw.githubusercontent.com/appsail/Gemini-in-Chrome/main/install.sh | bashOpen PowerShell and run:
irm https://raw.githubusercontent.com/appsail/Gemini-in-Chrome/main/install.ps1 | iex- ✅ Checks if Chrome is running (prompts you to close it)
- 💾 Backs up your config (
Local State.bak) - 🔧 Patches these settings:
is_glic_eligible:false→truevariations_country: →usvariations_permanent_consistency_country: →us
- ✓ Verifies changes were applied
macOS:
mv ~/Library/Application\ Support/Google/Chrome/Local\ State.bak \
~/Library/Application\ Support/Google/Chrome/Local\ StateLinux:
mv ~/.config/google-chrome/Local\ State.bak \
~/.config/google-chrome/Local\ StateWindows PowerShell:
Move-Item -Path "$env:LOCALAPPDATA\Google\Chrome\User Data\Local State.bak" `
-Destination "$env:LOCALAPPDATA\Google\Chrome\User Data\Local State" -Force- Original config is backed up before any changes
- Only modifies local Chrome settings
- No data uploaded, no network access (except downloading the script)
- Easily reversible
- Unofficial, open source, use at your own risk
| OS | Path |
|---|---|
| macOS | ~/Library/Application Support/Google/Chrome/Local State |
| Linux | ~/.config/google-chrome/Local State |
| Windows | %LOCALAPPDATA%\Google\Chrome\User Data\Local State |
Found a bug? Open an issue.
MIT