官网:Gemini in Chrome

写在前面

截止目前(2026-02-05),Gemini in Chrome 仅面向美国用户使用。

根据官方要求,需满足以下条件:

  • Be 18 or over and in the US.
  • Use a Chromebook Plus, Mac, or Windows computer.
  • Use the latest version of Chrome.
  • Sign in to Chrome.
  • Have Chrome's language set to English (United States).

对于国内用户来说,需满足以下条件:

  • Google 账号关联地区是美国(可以前往这里修改,提交后留言邮箱的审核结果)
  • 更新至最新的 Chrome 144 版本
  • Chrome 的语言设置为英语
  • 科学上网使用美国节点

PS:我的 Google 账号关联了台湾,用美国节点也可以正常使用。

设置语言

Chrome App 的语言设置通常会根据系统语言来设定。

以 macOS 为例,前往系统偏好设置为 Chrome 应用程序设置语言,参考图片:

PS:在 Chrome 设置的「语言」选项将 English (United States) 调整至最高优先级是没用的,该选项不会影响应用本身的语言。

其他系统语言设置参考这里

开启 flags

打开 chrome://flags 搜索 glic,将以下两个选项由 Default 改为 Enable

  • glic
  • glic-side-panel

改完记得重启 Chrome。

如果还不行,继续往下...

修改 Local State 文件

了解意图后,可以直接使用下一章的脚本对文件进行修改。

修改前先退出 Chrome(为避免误操作建议先创建 Local State 副本进行备份)。

Chrome 判断用户地区会经过多重验证。一些 IP、地区标识会存储在本地文件 Local State 里面。

  • macOS:~/Library/Application Support/Google/Chrome/Local State
  • Linux:~/.config/google-chrome/Local State
  • Windows:%LOCALAPPDATA%\Google\Chrome\User Data\Local State

打开 Local State 文件(一个 JSON 文件),修改这三个 key:

  • variations_country:将 tw 改为 us
  • variations_permanent_consistency_country:将 tw 改为 us
  • is_glic_eligible:设为 true
{
  "variations_country": "us",
  "variations_permanent_consistency_country": [
    "144.0.7559.133",
    "us"
  ],
  "profile": {
    "info_cache": {
      "Default": {
        "is_glic_eligible": true
      }
  }
}

 

我的 Google 账号关联了台湾,所以默认的 country 是 tw,其他国家/地区是不同值,都改为 us 便可

如果 Chrome 登录了多个 Google 账号,profile.info_cache 会有多个用户记录(如 Default、Profile 1、Profile 2),可以按需使个别账号启用 Gemini in Chrome。

使用脚本

以 appsail/Gemini-in-Chrome 为例,执行以下命令一键操作:

执行脚本前先退出 Chrome

▼ macOS/Linux:

$ curl -fsSL https://raw.githubusercontent.com/appsail/Gemini-in-Chrome/main/install.sh | bash

▼ Windows(用 PowerShell)

$ irm https://raw.githubusercontent.com/appsail/Gemini-in-Chrome/main/install.ps1 | iex

脚本内部所做的事情:

  1. 备份 Local StateLocal State.bak
  2. 修改xx is_glic_eligiblevariations_countryvariations_permanent_consistency_country

最后

chrome://settings/ai/gemini 可以为 Gemini in Chrome 调整配置。

另外,Gemini in Chrome 和原有的 Side Panel 分居左右两侧,我更偏向将 Chat Panel 放在右侧。由于它没有独立的设置项,前往 chrome://settings/appearanceSide panel position 改为 Show on left,这样 Chat Panel 就会来到右侧。

愉快地玩耍吧~

2
1