[{"data":1,"prerenderedAt":1234},["ShallowReactive",2],{"navigation":3,"layout-toc-\u002Fcodex\u002Fconfig\u002Fwsl2":176,"page-\u002Fcodex\u002Fconfig\u002Fwsl2":817,"\u002Fcodex\u002Fconfig\u002Fwsl2-surround":1229},[4,168,172],{"title":5,"path":6,"stem":7,"children":8,"page":167},"Codex","\u002Fcodex","1.codex",[9,43,69,91,121],{"title":10,"path":11,"stem":12,"children":13,"page":-1},"Codex 安装与账号配置","\u002Fcodex\u002Finstall","1.codex\u002F1.install\u002Findex",[14,15,19,23,27,31,35,39],{"title":10,"path":11,"stem":12},{"title":16,"path":17,"stem":18},"Codex 一键安装图文教程","\u002Fcodex\u002Finstall\u002Fapp-installation","1.codex\u002F1.install\u002F01.app-installation",{"title":20,"path":21,"stem":22},"Codex API Key 配置教程","\u002Fcodex\u002Finstall\u002Fsubscribe-plus","1.codex\u002F1.install\u002F02.subscribe-plus",{"title":24,"path":25,"stem":26},"Codex Windows 安装包下载","\u002Fcodex\u002Finstall\u002Fwindows-download","1.codex\u002F1.install\u002F03.windows-download",{"title":28,"path":29,"stem":30},"Codex API Key 获取与配置教程","\u002Fcodex\u002Finstall\u002Fapi-key-configuration","1.codex\u002F1.install\u002F04.api-key-configuration",{"title":32,"path":33,"stem":34},"Codex 官网入口与下载入口","\u002Fcodex\u002Finstall\u002Fofficial-website","1.codex\u002F1.install\u002F05.official-website",{"title":36,"path":37,"stem":38},"Codex 注册账号与登录教程","\u002Fcodex\u002Finstall\u002Fregister","1.codex\u002F1.install\u002F06.register",{"title":40,"path":41,"stem":42},"Codex Windows 系统要求与 Win10 兼容性","\u002Fcodex\u002Finstall\u002Fwindows-requirements","1.codex\u002F1.install\u002F07.windows-requirements",{"title":44,"path":45,"stem":46,"children":47,"page":-1},"认识 Codex 与使用入口","\u002Fcodex\u002Fbasics","1.codex\u002F2.basics\u002Findex",[48,49,53,57,61,65],{"title":44,"path":45,"stem":46},{"title":50,"path":51,"stem":52},"Codex 是什么软件，怎么用","\u002Fcodex\u002Fbasics\u002Fwhat-is-codex","1.codex\u002F2.basics\u002F01.what-is-codex",{"title":54,"path":55,"stem":56},"03 了解 Codex 基本组成","\u002Fcodex\u002Fbasics\u002Fapp-overview","1.codex\u002F2.basics\u002F02.app-overview",{"title":58,"path":59,"stem":60},"16 Codex Cloud、IDE 与桌面 App","\u002Fcodex\u002Fbasics\u002Fcloud-ide-app","1.codex\u002F2.basics\u002F03.cloud-ide-app",{"title":62,"path":63,"stem":64},"04 用手机端 Codex 跟进桌面任务","\u002Fcodex\u002Fbasics\u002Fmobile-control-desktop","1.codex\u002F2.basics\u002F04.mobile-control-desktop",{"title":66,"path":67,"stem":68},"Codex 中文设置教程","\u002Fcodex\u002Fbasics\u002Fchinese-settings","1.codex\u002F2.basics\u002F05.chinese-settings",{"title":70,"path":71,"stem":72,"children":73,"page":-1},"Codex CLI 与开发环境","\u002Fcodex\u002Fcli","1.codex\u002F3.cli\u002Findex",[74,75,79,83,87],{"title":70,"path":71,"stem":72},{"title":76,"path":77,"stem":78},"11 Codex CLI 安装","\u002Fcodex\u002Fcli\u002Fcli-installation","1.codex\u002F3.cli\u002F01.cli-installation",{"title":80,"path":81,"stem":82},"12 Codex CLI 首次运行","\u002Fcodex\u002Fcli\u002Fcli-first-run","1.codex\u002F3.cli\u002F02.cli-first-run",{"title":84,"path":85,"stem":86},"13 在 VS Code \u002F IDE 中使用 Codex","\u002Fcodex\u002Fcli\u002Fide-vscode","1.codex\u002F3.cli\u002F03.ide-vscode",{"title":88,"path":89,"stem":90},"14 AGENTS.md 项目规则","\u002Fcodex\u002Fcli\u002Fagents-md","1.codex\u002F3.cli\u002F04.agents-md",{"title":92,"path":93,"stem":94,"children":95,"page":-1},"Codex 工作流与扩展","\u002Fcodex\u002Fworkflows","1.codex\u002F4.workflows\u002Findex",[96,97,101,105,109,113,117],{"title":92,"path":93,"stem":94},{"title":98,"path":99,"stem":100},"05 用 Codex 完成第一个任务","\u002Fcodex\u002Fworkflows\u002Fapp-first-task","1.codex\u002F4.workflows\u002F01.app-first-task",{"title":102,"path":103,"stem":104},"06 任务的顺序执行和并行","\u002Fcodex\u002Fworkflows\u002Ftask-execution","1.codex\u002F4.workflows\u002F02.task-execution",{"title":106,"path":107,"stem":108},"Codex Skills 与 Plugins 安装教程","\u002Fcodex\u002Fworkflows\u002Fskills-plugins","1.codex\u002F4.workflows\u002F03.skills-plugins",{"title":110,"path":111,"stem":112},"09 自动化","\u002Fcodex\u002Fworkflows\u002Fautomation","1.codex\u002F4.workflows\u002F04.automation",{"title":114,"path":115,"stem":116},"10 桌面宠物","\u002Fcodex\u002Fworkflows\u002Fdesktop-pet","1.codex\u002F4.workflows\u002F05.desktop-pet",{"title":118,"path":119,"stem":120},"Codex Computer Use Windows 安装与使用","\u002Fcodex\u002Fworkflows\u002Fcomputer-use-windows","1.codex\u002F4.workflows\u002F06.computer-use-windows",{"title":122,"path":123,"stem":124,"children":125,"page":-1},"Codex 配置、安全与排错","\u002Fcodex\u002Fconfig","1.codex\u002F5.config\u002Findex",[126,127,131,135,139,143,147,151,155,159,163],{"title":122,"path":123,"stem":124},{"title":128,"path":129,"stem":130},"07 权限管理","\u002Fcodex\u002Fconfig\u002Fpermissions","1.codex\u002F5.config\u002F01.permissions",{"title":132,"path":133,"stem":134},"15 沙箱与审批模式","\u002Fcodex\u002Fconfig\u002Fsandbox-approvals","1.codex\u002F5.config\u002F02.sandbox-approvals",{"title":136,"path":137,"stem":138},"17 常见问题与排错","\u002Fcodex\u002Fconfig\u002Ftroubleshooting","1.codex\u002F5.config\u002F03.troubleshooting",{"title":140,"path":141,"stem":142},"Codex 第三方 API 与中转配置教程","\u002Fcodex\u002Fconfig\u002Fthird-party-api","1.codex\u002F5.config\u002F04.third-party-api",{"title":144,"path":145,"stem":146},"Codex config.toml 与 auth.json 配置说明","\u002Fcodex\u002Fconfig\u002Fconfig-toml-auth-json","1.codex\u002F5.config\u002F05.config-toml-auth-json",{"title":148,"path":149,"stem":150},"Codex Windows 原生沙箱设置与报错修复","\u002Fcodex\u002Fconfig\u002Fwindows-sandbox","1.codex\u002F5.config\u002F06.windows-sandbox",{"title":152,"path":153,"stem":154},"Codex 更新与升级失败排错","\u002Fcodex\u002Fconfig\u002Fupdate","1.codex\u002F5.config\u002F07.update",{"title":156,"path":157,"stem":158},"Codex 卸载干净与重新安装","\u002Fcodex\u002Fconfig\u002Funinstall","1.codex\u002F5.config\u002F08.uninstall",{"title":160,"path":161,"stem":162},"Codex Windows 中文乱码解决方法","\u002Fcodex\u002Fconfig\u002Fchinese-garbled-text","1.codex\u002F5.config\u002F09.chinese-garbled-text",{"title":164,"path":165,"stem":166},"Codex WSL2 安装、配置与常见问题","\u002Fcodex\u002Fconfig\u002Fwsl2","1.codex\u002F5.config\u002F10.wsl2",false,{"title":169,"path":170,"stem":171},"关于 Codex Guide","\u002Fabout","1.codex\u002F6.site\u002F01.about",{"title":173,"path":174,"stem":175},"隐私与数据说明","\u002Fprivacy","1.codex\u002F6.site\u002F02.privacy",{"id":177,"title":164,"author":178,"body":179,"description":780,"extension":781,"keywords":782,"links":797,"meta":804,"navigation":805,"path":165,"seo":806,"sources":809,"stem":166,"updatedAt":815,"__hash__":816},"docs\u002F1.codex\u002F5.config\u002F10.wsl2.md","Codex Guide 编辑",{"type":180,"value":181,"toc":765},"minimark",[182,186,194,199,260,263,267,270,286,289,305,312,327,331,334,343,346,387,396,399,402,437,448,455,459,475,478,482,485,497,504,526,533,537,540,548,551,557,576,581,610,616,620,623,654,657,661,664,696,707,711,734,737,740,761],[183,184,185],"p",{},"Codex 可以原生运行在 Windows 的 PowerShell 环境，也可以让代理运行在 WSL2 的 Linux 环境。需要 Linux 工具链、仓库本来就在 WSL2，或原生 Windows 沙箱受策略限制时，再选择 WSL2。",[183,187,188,189,193],{},"::: tip 当前支持边界\n官方文档说明：当前 Codex 的 Linux 沙箱需要 WSL2；WSL1 从 Codex ",[190,191,192],"code",{},"0.115"," 起不再支持。桌面应用切换代理环境后需要重启才会生效。\n:::",[195,196,198],"h2",{"id":197},"原生-windows-和-wsl2-怎么选","原生 Windows 和 WSL2 怎么选",[200,201,202,215],"table",{},[203,204,205],"thead",{},[206,207,208,212],"tr",{},[209,210,211],"th",{},"场景",[209,213,214],{},"建议环境",[216,217,218,231,239,246,253],"tbody",{},[206,219,220,228],{},[221,222,223,224,227],"td",{},"仓库在 ",[190,225,226],{},"C:\\","，主要使用 PowerShell 和 Windows 工具",[221,229,230],{},"原生 Windows",[206,232,233,236],{},[221,234,235],{},"仓库在 Linux home，依赖 bash、apt 或 Linux 工具链",[221,237,238],{},"WSL2",[206,240,241,244],{},[221,242,243],{},"需要 Windows 原生沙箱",[221,245,230],{},[206,247,248,251],{},[221,249,250],{},"团队开发环境统一使用 Linux",[221,252,238],{},[206,254,255,258],{},[221,256,257],{},"需要最佳 Windows 原生 App 与沙箱体验",[221,259,230],{},[183,261,262],{},"不要在同一个项目中频繁切换环境并分别维护两套配置，否则容易出现 PATH、文件权限、换行符和认证状态不一致。",[195,264,266],{"id":265},"安装-wsl2","安装 WSL2",[183,268,269],{},"以管理员身份打开 PowerShell 或 Windows Terminal：",[271,272,277],"pre",{"className":273,"code":274,"language":275,"meta":276,"style":276},"language-powershell shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","wsl --install\n","powershell","",[190,278,279],{"__ignoreMap":276},[280,281,284],"span",{"class":282,"line":283},"line",1,[280,285,274],{},[183,287,288],{},"按 Windows 提示重启，然后检查：",[271,290,292],{"className":273,"code":291,"language":275,"meta":276,"style":276},"wsl --status\nwsl --list --verbose\n",[190,293,294,299],{"__ignoreMap":276},[280,295,296],{"class":282,"line":283},[280,297,298],{},"wsl --status\n",[280,300,302],{"class":282,"line":301},2,[280,303,304],{},"wsl --list --verbose\n",[183,306,307,308,311],{},"确认发行版的 VERSION 是 ",[190,309,310],{},"2","。如果 WSL 已安装但状态异常，可以先更新：",[271,313,315],{"className":273,"code":314,"language":275,"meta":276,"style":276},"wsl --update\nwsl --shutdown\n",[190,316,317,322],{"__ignoreMap":276},[280,318,319],{"class":282,"line":283},[280,320,321],{},"wsl --update\n",[280,323,324],{"class":282,"line":301},[280,325,326],{},"wsl --shutdown\n",[195,328,330],{"id":329},"在-wsl2-内安装-codex-cli","在 WSL2 内安装 Codex CLI",[183,332,333],{},"进入 WSL：",[271,335,337],{"className":273,"code":336,"language":275,"meta":276,"style":276},"wsl\n",[190,338,339],{"__ignoreMap":276},[280,340,341],{"class":282,"line":283},[280,342,336],{},[183,344,345],{},"在 Linux shell 中运行官方安装脚本：",[271,347,351],{"className":348,"code":349,"language":350,"meta":276,"style":276},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","curl -fsSL https:\u002F\u002Fchatgpt.com\u002Fcodex\u002Finstall.sh | sh\ncodex --version\ncodex\n","bash",[190,352,353,373,381],{"__ignoreMap":276},[280,354,355,359,363,366,370],{"class":282,"line":283},[280,356,358],{"class":357},"sBMFI","curl",[280,360,362],{"class":361},"sfazB"," -fsSL",[280,364,365],{"class":361}," https:\u002F\u002Fchatgpt.com\u002Fcodex\u002Finstall.sh",[280,367,369],{"class":368},"sMK4o"," |",[280,371,372],{"class":357}," sh\n",[280,374,375,378],{"class":282,"line":301},[280,376,377],{"class":357},"codex",[280,379,380],{"class":361}," --version\n",[280,382,384],{"class":282,"line":383},3,[280,385,386],{"class":357},"codex\n",[183,388,389,390,392,393,395],{},"Windows 中安装的 ",[190,391,377],{}," 和 WSL 中安装的 ",[190,394,377],{}," 是两个运行环境。应分别检查命令路径和版本。",[195,397,398],{"id":398},"项目应该放在哪里",[183,400,401],{},"如果代理本身运行在 WSL2，建议把仓库放在 Linux home，例如：",[271,403,405],{"className":348,"code":404,"language":350,"meta":276,"style":276},"mkdir -p ~\u002Fcode\ncd ~\u002Fcode\ngit clone https:\u002F\u002Fgithub.com\u002Fyour\u002Frepo.git\n",[190,406,407,418,426],{"__ignoreMap":276},[280,408,409,412,415],{"class":282,"line":283},[280,410,411],{"class":357},"mkdir",[280,413,414],{"class":361}," -p",[280,416,417],{"class":361}," ~\u002Fcode\n",[280,419,420,424],{"class":282,"line":301},[280,421,423],{"class":422},"s2Zo4","cd",[280,425,417],{"class":361},[280,427,428,431,434],{"class":282,"line":383},[280,429,430],{"class":357},"git",[280,432,433],{"class":361}," clone",[280,435,436],{"class":361}," https:\u002F\u002Fgithub.com\u002Fyour\u002Frepo.git\n",[183,438,439,440,443,444,447],{},"长期在 ",[190,441,442],{},"\u002Fmnt\u002Fc\u002F..."," 处理大型仓库可能遇到较慢的 I\u002FO、权限或符号链接问题。Windows 可以通过 ",[190,445,446],{},"\\\\wsl$\\\u003C发行版>\\home\\\u003C用户>"," 访问 WSL 文件。",[183,449,450,451,454],{},"如果继续使用 Windows 原生代理，则更适合把项目保存在 Windows 文件系统，再从 WSL 通过 ",[190,452,453],{},"\u002Fmnt\u002F\u003Cdrive>\u002F..."," 访问。",[195,456,458],{"id":457},"桌面应用切换到-wsl","桌面应用切换到 WSL",[460,461,462,466,469,472],"ol",{},[463,464,465],"li",{},"打开 Codex\u002FChatGPT 桌面应用设置。",[463,467,468],{},"把代理环境从 Windows native 切换为 WSL。",[463,470,471],{},"完全重启应用。",[463,473,474],{},"重新打开项目并确认终端路径。",[183,476,477],{},"集成终端和代理环境是两个独立选项。终端显示 WSL 不代表代理一定运行在 WSL，反之亦然。",[195,479,481],{"id":480},"在-vs-code-中使用","在 VS Code 中使用",[183,483,484],{},"安装 VS Code 的 WSL 扩展后，在 WSL 项目目录运行：",[271,486,488],{"className":348,"code":487,"language":350,"meta":276,"style":276},"code .\n",[190,489,490],{"__ignoreMap":276},[280,491,492,494],{"class":282,"line":283},[280,493,190],{"class":357},[280,495,496],{"class":361}," .\n",[183,498,499,500,503],{},"确认 VS Code 状态栏显示 ",[190,501,502],{},"WSL: \u003C发行版>","，并在集成终端运行：",[271,505,507],{"className":348,"code":506,"language":350,"meta":276,"style":276},"echo $WSL_DISTRO_NAME\nwhich codex\n",[190,508,509,518],{"__ignoreMap":276},[280,510,511,514],{"class":282,"line":283},[280,512,513],{"class":422},"echo",[280,515,517],{"class":516},"sTEyZ"," $WSL_DISTRO_NAME\n",[280,519,520,523],{"class":282,"line":301},[280,521,522],{"class":422},"which",[280,524,525],{"class":361}," codex\n",[183,527,528,529,532],{},"如果找不到 Codex，说明它没有安装到当前 WSL 发行版，或安装目录没有加入 WSL 的 ",[190,530,531],{},"PATH","。",[195,534,536],{"id":535},"wsl-配置和认证为什么不一致","WSL 配置和认证为什么不一致",[183,538,539],{},"Windows 原生 Codex 通常使用：",[271,541,546],{"className":542,"code":544,"language":545,"meta":276},[543],"language-text","%USERPROFILE%\\.codex\n","text",[190,547,544],{"__ignoreMap":276},[183,549,550],{},"WSL 内 CLI 默认使用：",[271,552,555],{"className":553,"code":554,"language":545,"meta":276},[543],"~\u002F.codex\n",[190,556,554],{"__ignoreMap":276},[183,558,559,560,563,564,571,572,575],{},"因此两边不会自动共享 ",[190,561,562],{},"config.toml","、认证缓存和会话。可以分别配置；确实需要共享时，再按照 ",[565,566,570],"a",{"href":567,"rel":568},"https:\u002F\u002Flearn.chatgpt.com\u002Fdocs\u002Fwindows\u002Fwindows-app#share-config-auth-and-sessions-with-wsl",[569],"nofollow","Windows 应用官方文档"," 设置 ",[190,573,574],{},"CODEX_HOME","。共享前应理解权限和密钥暴露边界。",[577,578,580],"h3",{"id":579},"wsl-登录失败","WSL 登录失败",[460,582,583,594,597,600,603],{},[463,584,585,586,589,590,593],{},"在 WSL 内运行 ",[190,587,588],{},"which codex"," 和 ",[190,591,592],{},"codex --version","，确认调用的是 Linux 版本。",[463,595,596],{},"明确使用 ChatGPT 登录还是 API Key 登录。",[463,598,599],{},"浏览器登录完成后，确认回调返回的是当前 WSL 中的 Codex。",[463,601,602],{},"检查 WSL 网络和系统时间。",[463,604,605,606,609],{},"不要把 Windows 的 ",[190,607,608],{},"auth.json"," 直接复制到公开或多用户 Linux 环境。",[183,611,612,613,615],{},"如果 Windows CLI 能登录而 WSL 不能，优先比较两边的网络、",[190,614,574],{}," 和凭据位置，而不是重复注册账号。",[195,617,619],{"id":618},"wsl-代理不生效","WSL 代理不生效",[183,621,622],{},"先在 WSL 内单独验证网络，不要只看 Windows 浏览器能否访问：",[271,624,626],{"className":348,"code":625,"language":350,"meta":276,"style":276},"curl -I https:\u002F\u002Fchatgpt.com\nenv | grep -i proxy\n",[190,627,628,638],{"__ignoreMap":276},[280,629,630,632,635],{"class":282,"line":283},[280,631,358],{"class":357},[280,633,634],{"class":361}," -I",[280,636,637],{"class":361}," https:\u002F\u002Fchatgpt.com\n",[280,639,640,643,645,648,651],{"class":282,"line":301},[280,641,642],{"class":357},"env",[280,644,369],{"class":368},[280,646,647],{"class":357}," grep",[280,649,650],{"class":361}," -i",[280,652,653],{"class":361}," proxy\n",[183,655,656],{},"Windows 系统代理不一定自动传入 WSL。代理地址还要考虑 WSL 的网络模式和监听范围。不要把包含用户名、密码或 API Key 的代理配置粘贴到公开日志。",[195,658,660],{"id":659},"reconnecting-或环境读取异常","reconnecting 或环境读取异常",[183,662,663],{},"按顺序检查：",[460,665,666,672,680,683,686,689],{},[463,667,668,671],{},[190,669,670],{},"wsl --list --verbose"," 是否显示发行版正在使用 WSL2。",[463,673,674,675,589,677,679],{},"WSL 内 ",[190,676,588],{},[190,678,592],{}," 是否正常。",[463,681,682],{},"项目路径是否真实存在于当前发行版。",[463,684,685],{},"Windows 与 WSL 是否各自使用了不同配置或 API Key。",[463,687,688],{},"代理是否只在 Windows 生效，WSL 内无法联网。",[463,690,691,692,695],{},"更新 WSL 后执行 ",[190,693,694],{},"wsl --shutdown","，再重新启动桌面应用。",[183,697,698,699,702,703,706],{},"大型仓库卡顿时，优先把项目从 ",[190,700,701],{},"\u002Fmnt\u002Fc"," 移到 ",[190,704,705],{},"~\u002Fcode","，再比较速度。",[195,708,710],{"id":709},"native-windows-和-wsl2-不要混用哪些东西","Native Windows 和 WSL2 不要混用哪些东西",[712,713,714,720,723,731],"ul",{},[463,715,716,717,719],{},"不要在同一终端里混用 Windows 与 Linux 的 ",[190,718,377],{}," 路径。",[463,721,722],{},"不要让两个环境同时写同一个配置文件或认证缓存。",[463,724,725,726,589,728,730],{},"不要在 ",[190,727,701],{},[190,729,705],{}," 各保留一份不清楚哪个是最新的仓库。",[463,732,733],{},"不要假设 Windows 系统代理、证书和环境变量会自动进入 WSL。",[183,735,736],{},"选择一个主环境完成安装、配置和验证；只有确实需要另一套工具链时再切换。",[195,738,739],{"id":739},"官方参考",[712,741,742,749,756],{},[463,743,744],{},[565,745,748],{"href":746,"rel":747},"https:\u002F\u002Flearn.chatgpt.com\u002Fdocs\u002Fwindows\u002Fwsl",[569],"OpenAI Codex WSL 文档",[463,750,751],{},[565,752,755],{"href":753,"rel":754},"https:\u002F\u002Flearn.chatgpt.com\u002Fdocs\u002Fwindows\u002Fwindows-app",[569],"ChatGPT\u002FCodex Windows 应用文档",[463,757,758],{},[565,759,760],{"href":149},"Codex Windows 原生沙箱",[762,763,764],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}",{"title":276,"searchDepth":283,"depth":301,"links":766},[767,768,769,770,771,772,773,776,777,778,779],{"id":197,"depth":301,"text":198},{"id":265,"depth":301,"text":266},{"id":329,"depth":301,"text":330},{"id":398,"depth":301,"text":398},{"id":457,"depth":301,"text":458},{"id":480,"depth":301,"text":481},{"id":535,"depth":301,"text":536,"children":774},[775],{"id":579,"depth":383,"text":580},{"id":618,"depth":301,"text":619},{"id":659,"depth":301,"text":660},{"id":709,"depth":301,"text":710},{"id":739,"depth":301,"text":739},"Codex WSL2 使用教程，说明原生 Windows 与 WSL2 的选择、安装、项目目录、VS Code、代理和连接异常排查。","md",[783,784,785,786,787,788,789,790,791,792,793,794,795,796],"Codex WSL","Codex WSL2","Codex WSL2 使用","Codex WSL 安装","Codex WSL 配置","Codex WSL 教程","Codex WSL proxy","Codex WSL 代理","Codex WSL reconnecting","Codex WSL 环境读取异常","Codex VSCode WSL","Codex App WSL2","Codex WSL 登录","Codex Native vs WSL2",[798,801],{"label":799,"icon":800,"to":41},"Windows 系统要求","i-lucide-monitor-check",{"label":802,"icon":803,"to":149},"Windows 原生沙箱","i-lucide-shield",{},true,{"title":807,"description":808},"Codex WSL2 使用教程｜安装、配置、代理与报错排查","Codex WSL2 安装与配置教程，覆盖 wsl --install、CLI、VS Code、项目路径、代理、reconnecting 和 WSL 环境读取异常。",[810,812],{"label":811,"url":746},"OpenAI - WSL",{"label":813,"url":814},"OpenAI - Windows sandbox","https:\u002F\u002Flearn.chatgpt.com\u002Fdocs\u002Fwindows\u002Fwindows-sandbox","2026-07-26","avnpOzPdZP_iSBez2kmIDfBBhPKAqtrTnYQCqk_pcsA",{"id":177,"title":164,"author":178,"body":818,"description":780,"extension":781,"keywords":1220,"links":1221,"meta":1224,"navigation":805,"path":165,"seo":1225,"sources":1226,"stem":166,"updatedAt":815,"__hash__":816},{"type":180,"value":819,"toc":1205},[820,822,826,828,872,874,876,878,886,888,900,904,916,918,920,928,930,956,962,964,966,992,998,1002,1004,1014,1016,1018,1020,1030,1034,1050,1054,1056,1058,1063,1065,1070,1079,1081,1099,1103,1105,1107,1131,1133,1135,1137,1159,1165,1167,1183,1185,1187,1203],[183,821,185],{},[183,823,188,824,193],{},[190,825,192],{},[195,827,198],{"id":197},[200,829,830,838],{},[203,831,832],{},[206,833,834,836],{},[209,835,211],{},[209,837,214],{},[216,839,840,848,854,860,866],{},[206,841,842,846],{},[221,843,223,844,227],{},[190,845,226],{},[221,847,230],{},[206,849,850,852],{},[221,851,235],{},[221,853,238],{},[206,855,856,858],{},[221,857,243],{},[221,859,230],{},[206,861,862,864],{},[221,863,250],{},[221,865,238],{},[206,867,868,870],{},[221,869,257],{},[221,871,230],{},[183,873,262],{},[195,875,266],{"id":265},[183,877,269],{},[271,879,880],{"className":273,"code":274,"language":275,"meta":276,"style":276},[190,881,882],{"__ignoreMap":276},[280,883,884],{"class":282,"line":283},[280,885,274],{},[183,887,288],{},[271,889,890],{"className":273,"code":291,"language":275,"meta":276,"style":276},[190,891,892,896],{"__ignoreMap":276},[280,893,894],{"class":282,"line":283},[280,895,298],{},[280,897,898],{"class":282,"line":301},[280,899,304],{},[183,901,307,902,311],{},[190,903,310],{},[271,905,906],{"className":273,"code":314,"language":275,"meta":276,"style":276},[190,907,908,912],{"__ignoreMap":276},[280,909,910],{"class":282,"line":283},[280,911,321],{},[280,913,914],{"class":282,"line":301},[280,915,326],{},[195,917,330],{"id":329},[183,919,333],{},[271,921,922],{"className":273,"code":336,"language":275,"meta":276,"style":276},[190,923,924],{"__ignoreMap":276},[280,925,926],{"class":282,"line":283},[280,927,336],{},[183,929,345],{},[271,931,932],{"className":348,"code":349,"language":350,"meta":276,"style":276},[190,933,934,946,952],{"__ignoreMap":276},[280,935,936,938,940,942,944],{"class":282,"line":283},[280,937,358],{"class":357},[280,939,362],{"class":361},[280,941,365],{"class":361},[280,943,369],{"class":368},[280,945,372],{"class":357},[280,947,948,950],{"class":282,"line":301},[280,949,377],{"class":357},[280,951,380],{"class":361},[280,953,954],{"class":282,"line":383},[280,955,386],{"class":357},[183,957,389,958,392,960,395],{},[190,959,377],{},[190,961,377],{},[195,963,398],{"id":398},[183,965,401],{},[271,967,968],{"className":348,"code":404,"language":350,"meta":276,"style":276},[190,969,970,978,984],{"__ignoreMap":276},[280,971,972,974,976],{"class":282,"line":283},[280,973,411],{"class":357},[280,975,414],{"class":361},[280,977,417],{"class":361},[280,979,980,982],{"class":282,"line":301},[280,981,423],{"class":422},[280,983,417],{"class":361},[280,985,986,988,990],{"class":282,"line":383},[280,987,430],{"class":357},[280,989,433],{"class":361},[280,991,436],{"class":361},[183,993,439,994,443,996,447],{},[190,995,442],{},[190,997,446],{},[183,999,450,1000,454],{},[190,1001,453],{},[195,1003,458],{"id":457},[460,1005,1006,1008,1010,1012],{},[463,1007,465],{},[463,1009,468],{},[463,1011,471],{},[463,1013,474],{},[183,1015,477],{},[195,1017,481],{"id":480},[183,1019,484],{},[271,1021,1022],{"className":348,"code":487,"language":350,"meta":276,"style":276},[190,1023,1024],{"__ignoreMap":276},[280,1025,1026,1028],{"class":282,"line":283},[280,1027,190],{"class":357},[280,1029,496],{"class":361},[183,1031,499,1032,503],{},[190,1033,502],{},[271,1035,1036],{"className":348,"code":506,"language":350,"meta":276,"style":276},[190,1037,1038,1044],{"__ignoreMap":276},[280,1039,1040,1042],{"class":282,"line":283},[280,1041,513],{"class":422},[280,1043,517],{"class":516},[280,1045,1046,1048],{"class":282,"line":301},[280,1047,522],{"class":422},[280,1049,525],{"class":361},[183,1051,528,1052,532],{},[190,1053,531],{},[195,1055,536],{"id":535},[183,1057,539],{},[271,1059,1061],{"className":1060,"code":544,"language":545,"meta":276},[543],[190,1062,544],{"__ignoreMap":276},[183,1064,550],{},[271,1066,1068],{"className":1067,"code":554,"language":545,"meta":276},[543],[190,1069,554],{"__ignoreMap":276},[183,1071,559,1072,563,1074,571,1077,575],{},[190,1073,562],{},[565,1075,570],{"href":567,"rel":1076},[569],[190,1078,574],{},[577,1080,580],{"id":579},[460,1082,1083,1089,1091,1093,1095],{},[463,1084,585,1085,589,1087,593],{},[190,1086,588],{},[190,1088,592],{},[463,1090,596],{},[463,1092,599],{},[463,1094,602],{},[463,1096,605,1097,609],{},[190,1098,608],{},[183,1100,612,1101,615],{},[190,1102,574],{},[195,1104,619],{"id":618},[183,1106,622],{},[271,1108,1109],{"className":348,"code":625,"language":350,"meta":276,"style":276},[190,1110,1111,1119],{"__ignoreMap":276},[280,1112,1113,1115,1117],{"class":282,"line":283},[280,1114,358],{"class":357},[280,1116,634],{"class":361},[280,1118,637],{"class":361},[280,1120,1121,1123,1125,1127,1129],{"class":282,"line":301},[280,1122,642],{"class":357},[280,1124,369],{"class":368},[280,1126,647],{"class":357},[280,1128,650],{"class":361},[280,1130,653],{"class":361},[183,1132,656],{},[195,1134,660],{"id":659},[183,1136,663],{},[460,1138,1139,1143,1149,1151,1153,1155],{},[463,1140,1141,671],{},[190,1142,670],{},[463,1144,674,1145,589,1147,679],{},[190,1146,588],{},[190,1148,592],{},[463,1150,682],{},[463,1152,685],{},[463,1154,688],{},[463,1156,691,1157,695],{},[190,1158,694],{},[183,1160,698,1161,702,1163,706],{},[190,1162,701],{},[190,1164,705],{},[195,1166,710],{"id":709},[712,1168,1169,1173,1175,1181],{},[463,1170,716,1171,719],{},[190,1172,377],{},[463,1174,722],{},[463,1176,725,1177,589,1179,730],{},[190,1178,701],{},[190,1180,705],{},[463,1182,733],{},[183,1184,736],{},[195,1186,739],{"id":739},[712,1188,1189,1194,1199],{},[463,1190,1191],{},[565,1192,748],{"href":746,"rel":1193},[569],[463,1195,1196],{},[565,1197,755],{"href":753,"rel":1198},[569],[463,1200,1201],{},[565,1202,760],{"href":149},[762,1204,764],{},{"title":276,"searchDepth":283,"depth":301,"links":1206},[1207,1208,1209,1210,1211,1212,1213,1216,1217,1218,1219],{"id":197,"depth":301,"text":198},{"id":265,"depth":301,"text":266},{"id":329,"depth":301,"text":330},{"id":398,"depth":301,"text":398},{"id":457,"depth":301,"text":458},{"id":480,"depth":301,"text":481},{"id":535,"depth":301,"text":536,"children":1214},[1215],{"id":579,"depth":383,"text":580},{"id":618,"depth":301,"text":619},{"id":659,"depth":301,"text":660},{"id":709,"depth":301,"text":710},{"id":739,"depth":301,"text":739},[783,784,785,786,787,788,789,790,791,792,793,794,795,796],[1222,1223],{"label":799,"icon":800,"to":41},{"label":802,"icon":803,"to":149},{},{"title":807,"description":808},[1227,1228],{"label":811,"url":746},{"label":813,"url":814},[1230,1232],{"title":160,"path":161,"stem":162,"description":1231,"children":-1},"Codex CLI、PowerShell 和 Windows 终端中文乱码排错，区分界面语言、文件编码、终端编码与字体问题。",{"title":169,"path":170,"stem":171,"description":1233,"children":-1},"了解 Codex Guide 与 Code8 的关系、第三方身份、内容核对方式和教程更新原则。",1785028484564]