How to Enable Gemini in Chrome on Windows and Mac
Learn how to manually enable Gemini AI features in Google Chrome by editing the Local State configuration file. This guide provides step-by-step instructions for both Windows and macOS users.
Google's Gemini AI integration in Chrome brings powerful AI capabilities directly to your browser. However, depending on your region or account settings, you might not see the Gemini features enabled by default. This guide shows you how to manually enable Gemini AI in Chrome by modifying the browser's Local State configuration file.
This method works by changing eligibility flags and region settings in Chrome's configuration, allowing you to access Gemini features that might otherwise be restricted in your location.
- Step 1: Close Chrome Completely (Required)
- Method for macOS: Terminal Commands
- Method for Windows: Manual File Editing
- Verification & Troubleshooting
- Frequently Asked Questions
Step 1: Close Chrome Completely (Required)
Before making any changes to Chrome's configuration files, you must completely close the browser. Having Chrome open while editing will cause your changes to be overwritten.
- On Mac: Press
Cmd + Qto fully quit Chrome. Make sure the Chrome icon is no longer in your Dock with a dot beneath it. - On Windows: Close all Chrome windows and check Task Manager
(
Ctrl + Shift + Esc) to ensure nochrome.exeprocesses are running. End any remaining Chrome processes if found.
Method for macOS: Terminal Commands
macOS users can enable Gemini quickly using Terminal commands. This method automatically backs up your configuration and makes the necessary changes.
Steps:
- Open Terminal (you can find it in Applications → Utilities, or search using
Spotlight with
Cmd + Space). - Copy and paste the following commands into Terminal:
1. Backup the configuration file
cp ~/Library/Application\ Support/Google/Chrome/Local\ State \
~/Library/Application\ Support/Google/Chrome/Local\ State.bak
2. Change eligibility flag (false to true)
sed -i '' 's/"is_glic_eligible":[[:space:]]*false/"is_glic_eligible":true/g' \
~/Library/Application\ Support/Google/Chrome/Local\ State
3. Change country code (cn to us)
sed -i '' 's/"variations_country":"cn"/"variations_country":"us"/g' \
~/Library/Application\ Support/Google/Chrome/Local\ State
4. Update permanent consistency country code to us
sed -i ''
's/"variations_permanent_consistency_country":[[:space:]]*\[\([^]]*\),[[:space:]]*"[^"]*"\]/"variations_permanent_consistency_country":[\1,"us"]/g'
\
~/Library/Application\ Support/Google/Chrome/Local\ State
- Press Enter to execute the commands.
- Restart Chrome and check if Gemini features are now available.
Method for Windows: Manual File Editing
Windows users need to manually edit the Local State file using a text editor like Notepad.
Step 1: Navigate to Chrome's User Data Folder
- Press
Win + Rto open the Run dialog. - Paste the following path and press Enter:
%LOCALAPPDATA%\Google\Chrome\User Data\
Step 2: Backup the Local State File
- In the folder that opens, locate the file named Local State (it has no file extension).
- Copy this file and paste it in the same folder. Rename the copy to Local State.bak as a backup.
Step 3: Edit the Local State File
- Right-click the original Local State file and select Open with → Notepad.
- Use
Ctrl + Fto find and replace the following values:
| Find This Text | Replace With |
|---|---|
"is_glic_eligible": false |
"is_glic_eligible": true |
"variations_country":"cn" |
"variations_country":"us" |
In "variations_permanent_consistency_country", find the last country code
in brackets |
Change it to "us" |
- Save the file (
Ctrl + S). - Close Notepad and restart Chrome.
Verification & Troubleshooting
After restarting Chrome, you should see Gemini AI features available. Here's how to verify:
- Look for the Gemini icon (sparkle/star) in Chrome's toolbar or address bar area.
- Try accessing Gemini by visiting gemini.google.com while signed in to Chrome.
- Check Chrome's settings for any new AI-related options.
If It Doesn't Work:
- Make sure Chrome was completely closed before editing.
- Verify you edited the correct file (Local State in the User Data folder).
- Check that your changes were saved properly.
- Try signing out and back into your Google account in Chrome.
- Clear Chrome cache and restart.
Frequently Asked Questions
Q: Is this method safe?
A: Yes, this method only modifies Chrome's local configuration settings. We recommend creating a backup of the Local State file before making changes, which is included in our instructions.
Q: Will this survive Chrome updates?
A: In most cases, yes. Chrome updates typically don't reset these specific settings. However, major version updates might occasionally reset the configuration, requiring you to apply the changes again.
Q: Why isn't Gemini available in my region by default?
A: Google rolls out new features gradually across different regions due to regulatory requirements, localization needs, or staged deployment strategies. This method essentially tells Chrome that you're eligible for Gemini features.
Q: Can I revert these changes?
A: Yes, simply restore the backup file (Local State.bak) by removing the original Local State file and renaming the backup back to "Local State".