{"id":94534,"date":"2026-08-14T18:01:06","date_gmt":"2026-08-14T10:01:06","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/94534.html"},"modified":"2026-08-14T18:01:06","modified_gmt":"2026-08-14T10:01:06","slug":"chatgpt%e3%80%81codex%e5%ae%9e%e6%88%98%ef%bc%9alinux%e6%a1%8c%e9%9d%a2%e7%89%88%e6%80%8e%e4%b9%88%e7%94%a8%ef%bc%9fubuntu%e3%80%81debian%e3%80%81fedora%e8%b7%91codex%e5%89%8d%e5%85%88%e6%a3%80","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/94534.html","title":{"rendered":"ChatGPT\u3001Codex\u5b9e\u6218\uff1aLinux\u684c\u9762\u7248\u600e\u4e48\u7528\uff1fUbuntu\u3001Debian\u3001Fedora\u8dd1Codex\u524d\u5148\u68c0\u67e5\u8fd96\u9879"},"content":{"rendered":"<p>Linux\u7528\u6237\u4ee5\u524d\u4f7f\u7528Codex&#xff0c;\u66f4\u591a\u662f\u5728CLI\u6216\u8005IDE\u91cc\u5b8c\u6210\u3002<\/p>\n<p>\u73b0\u5728OpenAI\u5df2\u7ecf\u63a8\u51fa ChatGPT Linux\u684c\u9762\u7248Preview\u3002\u5f53\u524d\u5b98\u65b9\u652f\u6301Ubuntu 24.04\/26.04\u3001Debian 13\u3001Fedora 43\/44&#xff0c;\u5e76\u63d0\u4f9bx64\u548cARM64\u7248\u672c&#xff1b;\u767b\u5f55ChatGPT\u8d26\u53f7\u4ee5\u540e&#xff0c;\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528Projects\u3001\u672c\u5730\u6587\u4ef6\u548cCodex\u3002<\/p>\n<p>\u4f46\u771f\u6b63\u5f00\u59cb\u4f7f\u7528\u4ee5\u540e&#xff0c;\u5f88\u5bb9\u6613\u4ea7\u751f\u4e00\u4e2a\u8bef\u533a&#xff1a;<\/p>\n<p>App\u5df2\u7ecf\u88c5\u597d\u4e86&#xff0c;Codex\u5f00\u53d1\u73af\u5883\u5e94\u8be5\u4e5f\u51c6\u5907\u597d\u4e86\u3002<\/p>\n<p>\u5b9e\u9645\u4e0a&#xff1a;<\/p>\n<p>App Installed<br \/>\n\u2260<br \/>\nCodex Ready<\/p>\n<p>\u4e00\u4e2aLinux\u9879\u76ee\u771f\u6b63\u80fd\u591f\u88abCodex\u7a33\u5b9a\u6267\u884c&#xff0c;\u81f3\u5c11\u8fd8\u9694\u7740&#xff1a;<\/p>\n<p>Project<br \/>\n\u2193<br \/>\nShell<br \/>\n\u2193<br \/>\nRuntime<br \/>\n\u2193<br \/>\nGit<br \/>\n\u2193<br \/>\nPermission<br \/>\n\u2193<br \/>\nVerification<\/p>\n<p>\u8fd9\u4e5f\u662f\u4e3a\u4ec0\u4e48\u6709\u4e9b\u95ee\u9898\u770b\u8d77\u6765\u50cf\u201cCodex\u4e0d\u597d\u7528\u201d&#xff0c;\u6700\u540e\u6392\u67e5\u51fa\u6765\u5374\u53ea\u662fLinux\u8fd0\u884c\u73af\u5883\u6ca1\u6709\u5bf9\u9f50\u3002<\/p>\n<p>\u7b2c\u4e00\u6b21\u5728Linux\u684c\u9762\u7248\u4e0a\u8dd1Codex&#xff0c;\u6211\u66f4\u5efa\u8bae\u5148\u628a\u4e0b\u97626\u9879\u68c0\u67e5\u6e05\u695a\u3002<\/p>\n<hr \/>\n<h3>\u4e00\u3001\u5148\u786e\u8ba4\u53d1\u884c\u7248\u3001CPU\u67b6\u6784\u548c\u5b89\u88c5\u5305<\/h3>\n<p>\u5f53\u524dLinux Preview\u6b63\u5f0f\u652f\u6301&#xff1a;<\/p>\n<p>Ubuntu 24.04 \/ 26.04<br \/>\nDebian 13<br \/>\nFedora 43 \/ 44<\/p>\n<p>CPU\u652f\u6301&#xff1a;<\/p>\n<p>x64<br \/>\nARM64<\/p>\n<p>\u53ef\u4ee5\u5148\u8fd0\u884c&#xff1a;<\/p>\n<p>uname -m<\/p>\n<p>\u5982\u679c\u8f93\u51fa&#xff1a;<\/p>\n<p>x86_64<\/p>\n<p>\u5c31\u662fx64\u3002<\/p>\n<p>\u5982\u679c\u662f&#xff1a;<\/p>\n<p>aarch64<\/p>\n<p>\u6216\u8005&#xff1a;<\/p>\n<p>arm64<\/p>\n<p>\u5219\u5c5e\u4e8eARM64\u3002Ubuntu\u548cDebian\u4f7f\u7528.deb\u5305&#xff0c;Fedora\u4f7f\u7528.rpm\u5305\u3002<\/p>\n<p>\u8fd9\u4e00\u5c42\u6ca1\u6709\u592a\u591a\u590d\u6742\u6280\u672f&#xff0c;\u4f46\u5b83\u51b3\u5b9a\u4e86\u540e\u9762\u6392\u67e5\u662f\u4e0d\u662f\u4ece\u4e00\u4e2a\u6b63\u786e\u57fa\u7840\u5f00\u59cb\u3002<\/p>\n<p>\u771f\u6b63\u9700\u8981\u8bb0\u4f4f\u7684\u662f&#xff1a;<\/p>\n<p>Package Installed<br \/>\n\u2260<br \/>\nDevelopment Environment Ready<\/p>\n<p>\u80fd\u591f\u542f\u52a8ChatGPT&#xff0c;\u53ea\u8bc1\u660e\u684c\u9762\u5e94\u7528\u672c\u8eab\u80fd\u591f\u8fd0\u884c\u3002<\/p>\n<p>\u5e76\u4e0d\u80fd\u8bc1\u660e\u4f60\u7684&#xff1a;<\/p>\n<p>Node<br \/>\nPython<br \/>\nJava<br \/>\nGit<br \/>\nDatabase<br \/>\nEnvironment Variables<\/p>\n<p>\u5df2\u7ecf\u80fd\u88abCodex\u6b63\u786e\u8c03\u7528\u3002<\/p>\n<hr \/>\n<h3>\u4e8c\u3001Project\u6253\u5f00\u4e86&#xff0c;\u4e0d\u4ee3\u8868Codex\u770b\u5230\u7684\u662f\u6b63\u786eWorkspace<\/h3>\n<p>\u7b2c\u4e8c\u4e2a\u95ee\u9898\u6bd4\u5b89\u88c5\u66f4\u91cd\u8981&#xff1a;<\/p>\n<p>Codex\u5230\u5e95\u5728\u54ea\u4e2a\u76ee\u5f55\u5de5\u4f5c&#xff1f;<\/p>\n<p>\u4f8b\u5982\u4f60\u7684\u771f\u5b9eRepository\u662f&#xff1a;<\/p>\n<p>~\/code\/my-app\/<\/p>\n<p>\u4f46\u5b9e\u9645\u6253\u5f00\u7684Project\u5374\u662f&#xff1a;<\/p>\n<p>~\/code\/<\/p>\n<p>\u8868\u9762\u4e0aCodex\u4ecd\u7136\u80fd\u591f\u627e\u5230\u6e90\u7801\u3002<\/p>\n<p>\u4f46\u5f88\u591a\u5de5\u7a0b\u884c\u4e3a\u5df2\u7ecf\u53ef\u80fd\u4e0d\u540c\u3002<\/p>\n<p>\u56e0\u4e3a\u5f53\u524dWorking Directory\u4f1a\u5f71\u54cd&#xff1a;<\/p>\n<ul>\n<li>\n<p>Project\u7ea7\u914d\u7f6e&#xff1b;<\/p>\n<\/li>\n<li>\n<p>.codex\/config.toml&#xff1b;<\/p>\n<\/li>\n<li>\n<p>AGENTS\u89c4\u5219&#xff1b;<\/p>\n<\/li>\n<li>\n<p>Git Repository\u8fb9\u754c&#xff1b;<\/p>\n<\/li>\n<li>\n<p>Build\/Test\u547d\u4ee4&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u53ef\u5199\u76ee\u5f55\u3002<\/p>\n<\/li>\n<\/ul>\n<p>Codex\u5f53\u524d\u7684Config\u672c\u8eab\u5c31\u662f\u5206\u5c42\u52a0\u8f7d\u7684&#xff0c;\u9879\u76ee\u7ea7.codex\/config.toml\u4f1a\u4eceProject Root\u5411\u5f53\u524dWorking Directory\u9010\u7ea7\u751f\u6548&#xff0c;\u800c\u4e14\u79bb\u5f53\u524d\u76ee\u5f55\u66f4\u8fd1\u7684\u914d\u7f6e\u4f18\u5148\u7ea7\u66f4\u9ad8\u3002<\/p>\n<p>\u6240\u4ee5\u4ee5\u540e\u5982\u679c\u51fa\u73b0&#xff1a;<\/p>\n<p>\u4e3a\u4ec0\u4e48\u540c\u4e00\u4e2a\u9879\u76ee&#xff0c;\u5728CLI\u91cc\u548c\u684c\u9762\u7248\u91cc\u8868\u73b0\u4e0d\u4e00\u6837&#xff1f;<\/p>\n<p>\u7b2c\u4e00\u6b65\u4e0d\u8981\u5148\u8c03Prompt\u3002<\/p>\n<p>\u5e94\u8be5\u5148\u786e\u8ba4&#xff1a;<\/p>\n<p>pwd<br \/>\ngit status<br \/>\ngit rev-parse &#8211;show-toplevel<\/p>\n<p>\u7136\u540e\u68c0\u67e5&#xff1a;<\/p>\n<p>Current Directory<br \/>\nProject Root<br \/>\nGit Root<br \/>\nCodex Config<\/p>\n<p>\u662f\u4e0d\u662f\u5904\u5728\u540c\u4e00\u4e2a\u8fb9\u754c\u3002<\/p>\n<p>\u8fd9\u91cc\u6709\u4e00\u4e2a\u975e\u5e38\u91cd\u8981\u7684\u5de5\u7a0b\u601d\u7ef4&#xff1a;<\/p>\n<p>Agent\u770b\u5230\u4ec0\u4e48Context&#xff0c;\u5f88\u5927\u7a0b\u5ea6\u53d6\u51b3\u4e8e\u5b83\u4ece\u54ea\u91cc\u5f00\u59cb\u5de5\u4f5c\u3002<\/p>\n<hr \/>\n<h3>\u4e09\u3001Linux\u6700\u5bb9\u6613\u88ab\u4f4e\u4f30\u7684\u95ee\u9898&#xff1a;GUI\u73af\u5883\u548cTerminal\u73af\u5883\u53ef\u80fd\u4e0d\u662f\u540c\u4e00\u4e2a\u72b6\u6001<\/h3>\n<p>\u8fd9\u4e00\u70b9\u6211\u5efa\u8baeLinux\u7528\u6237\u91cd\u70b9\u6ce8\u610f\u3002<\/p>\n<p>\u5e73\u65f6\u4f60\u4eceTerminal\u542f\u52a8\u9879\u76ee\u65f6&#xff1a;<\/p>\n<p>npm run dev<\/p>\n<p>\u53ef\u80fd\u5b8c\u5168\u6b63\u5e38\u3002<\/p>\n<p>\u4f46\u684c\u9762App\u91cc\u8ba9Codex\u6267\u884c\u540c\u6837\u547d\u4ee4&#xff0c;\u5374\u51fa\u73b0&#xff1a;<\/p>\n<p>command not found<\/p>\n<p>\u6216\u8005&#xff1a;<\/p>\n<p>missing environment variable<\/p>\n<p>\u5f88\u591a\u4eba\u7b2c\u4e00\u53cd\u5e94\u662f&#xff1a;<\/p>\n<p>Codex\u4e3a\u4ec0\u4e48\u8c03\u7528\u4e0d\u5230&#xff1f;<\/p>\n<p>\u4f46\u771f\u6b63\u503c\u5f97\u5148\u6392\u67e5\u7684\u662f&#xff1a;<\/p>\n<p>App\u62ff\u5230\u7684Shell Environment&#xff0c;\u548c\u4f60\u5e73\u65f6\u624b\u5de5\u6253\u5f00Terminal\u540e\u7684\u73af\u5883\u662f\u4e0d\u662f\u4e00\u81f4\u3002<\/p>\n<p>\u4f8b\u5982\u4f60\u53ef\u80fd\u5728&#xff1a;<\/p>\n<p>~\/.bashrc<br \/>\n~\/.zshrc<br \/>\nprofile<br \/>\nversion manager<\/p>\n<p>\u91cc\u52a8\u6001\u914d\u7f6e\u4e86&#xff1a;<\/p>\n<p>PATH<br \/>\nNVM<br \/>\nPYENV<br \/>\nJAVA_HOME<br \/>\nDATABASE_URL<\/p>\n<p>\u800c\u67d0\u4e9bGUI\u542f\u52a8\u8def\u5f84\u5e76\u4e0d\u4e00\u5b9a\u548c\u4f60\u624b\u52a8\u5f00\u7684\u4ea4\u4e92\u5f0fShell\u7ecf\u5386\u5b8c\u5168\u76f8\u540c\u7684\u521d\u59cb\u5316\u8fc7\u7a0b\u3002<\/p>\n<p>Codex\u5b98\u65b9\u4e5f\u628a\u73af\u5883\u53d8\u91cf\u660e\u786e\u533a\u5206\u4e3a\u6301\u4e45Config\u548cShell-scoped\u8bbe\u7f6e&#xff1b;config.toml\u8d1f\u8d23\u6301\u4e45\u914d\u7f6e&#xff0c;\u800cEnvironment Variables\u4ecd\u7136\u7528\u4e8eShell\u7ea7\u8986\u76d6\u3001Secrets\u3001Installer\u884c\u4e3a\u7b49\u3002<\/p>\n<p>\u6240\u4ee5\u9047\u5230\u73af\u5883\u5dee\u5f02\u65f6&#xff0c;\u4e0d\u8981\u53ea\u6d4b\u8bd5&#xff1a;<\/p>\n<p>node -v<\/p>\n<p>\u6700\u597d\u540c\u65f6\u786e\u8ba4&#xff1a;<\/p>\n<p>which node<br \/>\nwhich python<br \/>\nwhich git<br \/>\necho $PATH<\/p>\n<p>\u4ee5\u53ca\u771f\u6b63\u4f9d\u8d56\u7684\u5173\u952e\u53d8\u91cf\u3002<\/p>\n<p>\u4f8b\u5982&#xff1a;<\/p>\n<p>echo $JAVA_HOME<br \/>\necho $DATABASE_URL<\/p>\n<p>\u8fd9\u91cc\u771f\u6b63\u60f3\u9a8c\u8bc1\u7684\u662f&#xff1a;<\/p>\n<p>Human Terminal Environment<br \/>\n&#061;<br \/>\nCodex Execution Environment<\/p>\n<p>\u5982\u679c\u4e24\u8fb9\u4e0d\u4e00\u81f4&#xff0c;<\/p>\n<p>\u540e\u9762\u6240\u6709&#xff1a;<\/p>\n<p>Build Failed<br \/>\nTest Failed<br \/>\nCommand Not Found<\/p>\n<p>\u90fd\u6709\u53ef\u80fd\u53ea\u662fEnvironment Drift\u3002<\/p>\n<hr \/>\n<h3>\u56db\u3001\u4e0d\u8981\u9760\u201c\u6211\u7535\u8111\u5e73\u65f6\u80fd\u8dd1\u201d&#xff0c;\u5efa\u7acb\u4e00\u4efd\u6700\u5c0fEnvironment Baseline<\/h3>\n<p>\u8fd9\u662f\u6211\u8ba4\u4e3aLinux\u4e0a\u8dd1Codex\u957f\u4efb\u52a1\u6700\u503c\u5f97\u589e\u52a0\u7684\u4e00\u5c42\u3002<\/p>\n<p>\u5f88\u591a\u9879\u76ee\u4e3a\u4ec0\u4e48\u5728\u4eba\u624b\u91cc\u6ca1\u95ee\u9898&#xff0c;\u4f46Agent\u63a5\u624b\u5c31\u9891\u7e41\u51fa\u9519&#xff1f;<\/p>\n<p>\u56e0\u4e3a\u5f00\u53d1\u8005\u8111\u5b50\u91cc\u9ed8\u8ba4\u5b58\u5728\u5927\u91cf\u9690\u5f0f\u6761\u4ef6&#xff1a;<\/p>\n<p>Node\u65e9\u5c31\u88c5\u597d\u4e86\u3002<br \/>\nRedis\u4e00\u76f4\u5f00\u7740\u3002<br \/>\n.env\u80af\u5b9a\u5b58\u5728\u3002<br \/>\n\u6570\u636e\u5e93\u6628\u5929\u5df2\u7ecf\u542f\u52a8\u3002<br \/>\n\u67d0\u4e2aCLI\u6211\u5168\u5c40\u88c5\u8fc7\u3002<\/p>\n<p>\u8fd9\u4e9b\u4fe1\u606f\u5bf9\u4eba\u6765\u8bf4\u662f\u4e60\u60ef\u3002<\/p>\n<p>\u5bf9Agent\u6765\u8bf4\u5374\u90fd\u662f&#xff1a;<\/p>\n<p>Hidden Dependency\u3002<\/p>\n<p>\u6240\u4ee5\u771f\u6b63Agent-friendly\u7684Linux\u9879\u76ee&#xff0c;\u6700\u597d\u5efa\u7acb\u4e00\u4efd&#xff1a;<\/p>\n<p>Environment Baseline\u3002<\/p>\n<p>\u6700\u4f4e\u53ef\u4ee5\u5305\u542b&#xff1a;<\/p>\n<p>Runtime Version<br \/>\nPackage Manager<br \/>\nInstall Command<br \/>\nBuild Command<br \/>\nTest Command<br \/>\nRequired Services<br \/>\nRequired Env<br \/>\nVerification Command<\/p>\n<p>\u4f8b\u5982&#xff1a;<\/p>\n<p>Node: 22<br \/>\nPackage Manager: pnpm<br \/>\nInstall: pnpm install<br \/>\nBuild: pnpm build<br \/>\nTest: pnpm test<br \/>\nService: PostgreSQL<br \/>\nVerify: .\/scripts\/verify<\/p>\n<p>\u8fd9\u6837Codex\u771f\u6b63\u8fdb\u5165\u4efb\u52a1\u4ee5\u540e&#xff0c;\u5c31\u4e0d\u7528\u731c&#xff1a;<\/p>\n<p>npm?<br \/>\npnpm?<br \/>\nyarn?<\/p>\n<p>test?<br \/>\ntest:unit?<br \/>\nverify?<\/p>\n<p>OpenAI\u73b0\u5728\u4e5f\u4e13\u95e8\u4e3aCodex\u684c\u9762\u7aef\u63d0\u4f9bLocal Environments&#xff1a;\u9879\u76ee\u53ef\u4ee5\u628aSetup Script\u548c\u5e38\u7528Action\u4fdd\u5b58\u5728Repository\u6839\u76ee\u5f55\u7684.codex\u914d\u7f6e\u91cc&#xff1b;\u65b0Worktree\u521b\u5efa\u65f6\u53ef\u4ee5\u81ea\u52a8\u6267\u884cSetup Script&#xff0c;\u4f8b\u5982\u5b89\u88c5\u4f9d\u8d56\u6216\u8fdb\u884c\u521d\u59cbBuild\u3002<\/p>\n<p>\u8fd9\u5b9e\u9645\u4e0a\u8bf4\u660e\u4e00\u4e2a\u975e\u5e38\u91cd\u8981\u7684\u8d8b\u52bf&#xff1a;<\/p>\n<p>Agent\u8d8a\u80fd\u81ea\u4e3b\u6267\u884c&#xff0c;\u5f00\u53d1\u73af\u5883\u8d8a\u5e94\u8be5\u4ece\u201c\u5f00\u53d1\u8005\u7ecf\u9a8c\u201d\u53d8\u6210\u201c\u53ef\u6267\u884c\u914d\u7f6e\u201d\u3002<\/p>\n<hr \/>\n<h3>\u4e94\u3001\u4e3a\u4ec0\u4e48Baseline\u5bf9Worktree\u5c24\u5176\u91cd\u8981&#xff1f;<\/h3>\n<p>Local\u73af\u5883\u91cc\u5f88\u591a\u4e1c\u897f\u5df2\u7ecf\u5b58\u5728\u3002<\/p>\n<p>\u4f8b\u5982&#xff1a;<\/p>\n<p>node_modules<br \/>\nbuild artifacts<br \/>\ngenerated files<br \/>\nlocal cache<\/p>\n<p>\u4f46Worktree\u662f\u65b0\u7684\u76ee\u5f55\u3002<\/p>\n<p>OpenAI\u5b98\u65b9\u4e5f\u660e\u786e\u63d0\u9192&#xff1a;Worktree\u8fd0\u884c\u5728\u548cLocal Chat\u4e0d\u540c\u7684\u76ee\u5f55&#xff0c;\u56e0\u6b64\u53ef\u80fd\u7f3a\u5c11\u6ca1\u6709\u63d0\u4ea4\u8fdbRepository\u7684\u6587\u4ef6\u6216Dependencies&#xff0c;\u6240\u4ee5Local Environment\u7684Setup Script\u53ef\u4ee5\u5728\u521b\u5efaWorktree\u65f6\u81ea\u52a8\u5b8c\u6210\u5b89\u88c5\u548cBuild\u3002<\/p>\n<p>\u4e8e\u662f\u5c31\u4f1a\u51fa\u73b0\u4e00\u4e2a\u5f88\u5178\u578b\u7684\u73b0\u8c61&#xff1a;<\/p>\n<p>Local<br \/>\n\u2192 Tests Passed<\/p>\n<p>\u4f46\u662f&#xff1a;<\/p>\n<p>Worktree<br \/>\n\u2192 Dependency Missing<\/p>\n<p>\u8fd9\u65f6\u5019\u771f\u6b63\u7684\u95ee\u9898\u4e0d\u662f&#xff1a;<\/p>\n<p>Agent\u6362\u4e86\u73af\u5883\u4ee5\u540e\u80fd\u529b\u4e0b\u964d\u3002<\/p>\n<p>\u800c\u662f&#xff1a;<\/p>\n<p>Repository State<br \/>\n\u2260<br \/>\nRunnable Environment<\/p>\n<p>\u6240\u4ee5\u4e00\u4e2a\u6210\u719f\u7684\u9879\u76ee\u6700\u597d\u505a\u5230&#xff1a;<\/p>\n<p>Fresh Checkout<br \/>\n\u2193<br \/>\nSetup<br \/>\n\u2193<br \/>\nBuild<br \/>\n\u2193<br \/>\nTest<\/p>\n<p>\u53ef\u4ee5\u91cd\u590d\u6267\u884c\u3002<\/p>\n<p>\u8fd9\u6837\u65e0\u8bba\u662f&#xff1a;<\/p>\n<p>Local\u3001<\/p>\n<p>Worktree\u3001<\/p>\n<p>\u53e6\u4e00\u4e2a\u5f00\u53d1\u8005&#xff0c;<\/p>\n<p>\u8fd8\u662fAgent&#xff0c;<\/p>\n<p>\u73af\u5883\u5dee\u5f02\u90fd\u4f1a\u5c0f\u5f88\u591a\u3002<\/p>\n<hr \/>\n<h3>\u516d\u3001Git\u5148\u505aCheckpoint&#xff0c;\u5426\u5219Agent\u4fee\u6539\u548c\u4eba\u5de5\u4fee\u6539\u5f88\u5bb9\u6613\u6df7\u5728\u4e00\u8d77<\/h3>\n<p>\u6b63\u5f0f\u8ba9Codex\u52a8\u4ee3\u7801\u4e4b\u524d&#xff0c;\u6211\u4ecd\u7136\u5efa\u8bae\u7b2c\u4e00\u4ef6\u4e8b&#xff1a;<\/p>\n<p>git status<\/p>\n<p>\u5047\u8bbe\u539f\u672c\u5df2\u7ecf\u5b58\u5728&#xff1a;<\/p>\n<p>modified: auth.ts<br \/>\nmodified: login.tsx<\/p>\n<p>\u7136\u540eCodex\u53c8\u4fee\u6539&#xff1a;<\/p>\n<p>auth.ts<br \/>\nsession.ts<br \/>\ntests\/auth.test.ts<\/p>\n<p>\u6700\u540e\u770b\u52305\u4e2aChanged Files&#xff0c;<\/p>\n<p>\u5f88\u5feb\u5c31\u4f1a\u9047\u5230\u4e00\u4e2a\u95ee\u9898&#xff1a;<\/p>\n<p>\u54ea\u4e9b\u662f\u6211\u7684&#xff1f;\u54ea\u4e9b\u662fAgent\u7684&#xff1f;<\/p>\n<p>Codex\u684c\u9762\u7aef\u73b0\u5728\u5df2\u7ecf\u63d0\u4f9b\u5b8c\u6574Git\u5de5\u4f5c\u6d41&#xff0c;\u53ef\u4ee5\u76f4\u63a5\u67e5\u770b\u5f53\u524dCheckout\u7684Diff\u3001Stage\/Revert\u6587\u4ef6\u6216Chunk\u3001Commit\u3001Push\u4ee5\u53ca\u521b\u5efaPR&#xff1b;\u5b98\u65b9\u4e5f\u63a8\u8350\u901a\u8fc7Worktree\u9694\u79bb\u5e76\u884c\u4fee\u6539&#xff0c;\u907f\u514dAgent\u76f4\u63a5\u78b0Local Git State\u3002<\/p>\n<p>\u6240\u4ee5\u771f\u6b63\u7a33\u7684\u8def\u5f84\u5e94\u8be5\u662f&#xff1a;<\/p>\n<p>Clean \/ Known State<br \/>\n\u2193<br \/>\nAgent Task<br \/>\n\u2193<br \/>\nReview Diff<br \/>\n\u2193<br \/>\nVerification<\/p>\n<p>\u800c\u4e0d\u662f&#xff1a;<\/p>\n<p>Unknown Local Changes<br \/>\n&#043;<br \/>\nAgent Changes<br \/>\n\u2193<br \/>\n\u4e00\u8d77Review<\/p>\n<p>\u5982\u679cLocal\u672c\u8eab\u4e0d\u5e72\u51c0&#xff0c;\u4e5f\u81f3\u5c11\u660e\u786e&#xff1a;<\/p>\n<p>Human Changes<br \/>\nAgent Scope<br \/>\nDo Not Touch<\/p>\n<p>\u8fd9\u548c\u524d\u9762\u8bb2\u8fc7\u7684Worktree\u903b\u8f91\u662f\u4e00\u6837\u7684&#xff1a;<\/p>\n<p>\u9694\u79bb\u7684\u4e0d\u53ea\u662f\u6587\u4ef6&#xff0c;\u66f4\u662f\u4efb\u52a1\u6240\u6709\u6743\u3002<\/p>\n<hr \/>\n<h3>\u4e03\u3001Permission\u4e0d\u662f\u201c\u5f00\u4e0d\u5f00\u201d&#xff0c;\u800c\u662fAgent\u6267\u884c\u8fb9\u754c\u7684\u4e00\u90e8\u5206<\/h3>\n<p>Linux\u5f00\u53d1\u673a\u901a\u5e38\u6bd4\u666e\u901a\u529e\u516c\u7535\u8111\u66f4\u5371\u9669\u3002<\/p>\n<p>\u56e0\u4e3a\u672c\u673a\u53ef\u80fd\u540c\u65f6\u5b58\u5728&#xff1a;<\/p>\n<p>SSH Keys<br \/>\nCloud Credentials<br \/>\nGit Credentials<br \/>\nDatabase Access<br \/>\nInternal CLI<br \/>\nProduction Tools<\/p>\n<p>\u6240\u4ee5\u7b2c\u4e00\u6b21\u8dd1Codex&#xff0c;\u4e0d\u5efa\u8bae\u4e3a\u4e86\u7701\u4e8b\u76f4\u63a5\u628a\u6743\u9650\u5168\u653e\u5f00\u3002<\/p>\n<p>Codex\u5f53\u524d\u628a&#xff1a;<\/p>\n<p>Sandbox<\/p>\n<p>\u548c&#xff1a;<\/p>\n<p>Approval<\/p>\n<p>\u4f5c\u4e3a\u4e24\u4e2a\u4e0d\u540c\u7ef4\u5ea6\u7ba1\u7406\u3002<\/p>\n<p>Sandbox\u51b3\u5b9a\u547d\u4ee4\u5b9e\u9645\u80fd\u591f\u8bbf\u95ee\u54ea\u4e9b\u6587\u4ef6\u548c\u7f51\u7edc\u8d44\u6e90&#xff1b;Approval\u5219\u51b3\u5b9a\u54ea\u4e9bAction\u6267\u884c\u524d\u9700\u8981\u6682\u505c\u786e\u8ba4\u3002\u9ed8\u8ba4Auto\u7ec4\u5408\u5141\u8bb8Codex\u5728Workspace\u4e2d\u8bfb\u53d6\u3001\u4fee\u6539\u5e76\u8fd0\u884c\u547d\u4ee4&#xff0c;\u4f46\u8bbf\u95eeWorkspace\u5916\u5185\u5bb9\u6216\u7f51\u7edc\u65f6\u4ecd\u9700\u8981Approval\u3002<\/p>\n<p>\u4f8b\u5982\u4e00\u4e2a\u6bd4\u8f83\u9002\u5408\u7b2c\u4e00\u6b21\u9a8c\u8bc1\u7684\u8303\u56f4\u662f&#xff1a;<\/p>\n<p>Workspace Write<br \/>\n&#043;<br \/>\nOn-request Approval<\/p>\n<p>\u800c\u4e0d\u662f\u76f4\u63a5&#xff1a;<\/p>\n<p>Danger Full Access<\/p>\n<p>Codex\u4e5f\u652f\u6301\u901a\u8fc7&#xff1a;<\/p>\n<p>\/permissions<\/p>\n<p>\u67e5\u770b\u548c\u8c03\u6574\u5f53\u524dRun\u7684Sandbox\u548cWritable Roots\u3002<\/p>\n<p>\u771f\u6b63\u9700\u8981\u95ee\u7684\u4e0d\u662f&#xff1a;<\/p>\n<p>Codex\u6709\u6ca1\u6709\u6743\u9650&#xff1f;<\/p>\n<p>\u800c\u5e94\u8be5\u662f&#xff1a;<\/p>\n<p>\u5b8c\u6210\u8fd9\u4e2a\u4efb\u52a1\u771f\u6b63\u9700\u8981\u54ea\u4e9b\u6743\u9650&#xff1f;<\/p>\n<p>\u8fd9\u5c31\u662f&#xff1a;<\/p>\n<p>Least Privilege for Agent Tasks\u3002<\/p>\n<hr \/>\n<h3>\u516b\u3001\u4e3a\u4ec0\u4e48\u6743\u9650\u4e0d\u8db3\u548c\u73af\u5883\u5931\u8d25\u5f88\u5bb9\u6613\u88ab\u6df7\u6dc6&#xff1f;<\/h3>\n<p>\u4f8b\u5982Agent\u8fd0\u884c&#xff1a;<\/p>\n<p>npm install<\/p>\n<p>\u5931\u8d25\u4e86\u3002<\/p>\n<p>\u53ef\u80fd\u6709\u4e09\u4e2a\u5b8c\u5168\u4e0d\u540c\u7684\u539f\u56e0&#xff1a;<\/p>\n<p>npm\u4e0d\u5b58\u5728<\/p>\n<p>\u8fd9\u662fRuntime\u95ee\u9898\u3002<\/p>\n<p>\u4e5f\u53ef\u80fd&#xff1a;<\/p>\n<p>network blocked<\/p>\n<p>\u8fd9\u662fSandbox\/Network\u95ee\u9898\u3002<\/p>\n<p>\u8fd8\u53ef\u80fd&#xff1a;<\/p>\n<p>permission denied<\/p>\n<p>\u8fd9\u662fFilesystem\/Permission\u95ee\u9898\u3002<\/p>\n<p>\u5982\u679c\u5168\u90e8\u7edf\u79f0&#xff1a;<\/p>\n<p>Codex\u547d\u4ee4\u6267\u884c\u5931\u8d25\u3002<\/p>\n<p>\u5c31\u5f88\u96be\u6392\u67e5\u3002<\/p>\n<p>\u5efa\u8bae\u628a\u5931\u8d25\u5148\u5206\u7c7b&#xff1a;<\/p>\n<p>Command Missing<br \/>\n\u2192 Environment<\/p>\n<p>Network Denied<br \/>\n\u2192 Sandbox<\/p>\n<p>Filesystem Denied<br \/>\n\u2192 Permission<\/p>\n<p>Test Assertion Failed<br \/>\n\u2192 Code \/ Logic<\/p>\n<p>Agent Debugging\u771f\u6b63\u9700\u8981\u89e3\u51b3\u7684&#xff0c;\u4e0d\u53ea\u662f&#xff1a;<\/p>\n<p>\u9519\u8bef\u662f\u4ec0\u4e48\u3002<\/p>\n<p>\u8fd8\u8981\u5148\u5224\u65ad&#xff1a;<\/p>\n<p>\u9519\u8bef\u5c5e\u4e8e\u54ea\u4e00\u5c42\u3002<\/p>\n<hr \/>\n<h3>\u4e5d\u3001Wayland\u5f02\u5e38\u4e0d\u8981\u8bef\u5224\u6210Codex\u529f\u80fd\u5f02\u5e38<\/h3>\n<p>Linux\u684c\u9762\u7248\u5f53\u524d\u7684Native Wayland\u652f\u6301\u4ecd\u7136\u5c5e\u4e8e\u5b9e\u9a8c\u9636\u6bb5\u3002<\/p>\n<p>\u5728Wayland Session\u4e2d&#xff0c;ChatGPT\u9ed8\u8ba4\u4f1a\u5728\u53ef\u7528\u60c5\u51b5\u4e0b\u4f7f\u7528XWayland&#xff1b;\u5982\u679c\u60f3\u663e\u5f0f\u8fd0\u884cNative Wayland&#xff0c;\u53ef\u4ee5\u5b8c\u5168\u9000\u51fa\u5e94\u7528\u540e\u6267\u884c&#xff1a;<\/p>\n<p>chatgpt &#8211;ozone-platform&#061;wayland<\/p>\n<p>\u76ee\u524dFloating Window\u3001\u7a97\u53e3\u5b9a\u4f4d\u3001Focus\u4ee5\u53ca\u90e8\u5206Keyboard Shortcuts\u4ecd\u53ef\u80fd\u5b58\u5728\u517c\u5bb9\u95ee\u9898\u3002<\/p>\n<p>\u6240\u4ee5\u5982\u679c\u78b0\u5230&#xff1a;<\/p>\n<p>\u7a97\u53e3\u4f4d\u7f6e\u5f02\u5e38<br \/>\n\u5feb\u6377\u952e\u5931\u6548<br \/>\nFocus\u4e0d\u7a33\u5b9a<br \/>\nFloating Window\u5f02\u5e38<\/p>\n<p>\u5e94\u8be5\u5148\u5224\u65ad&#xff1a;<\/p>\n<p>Agent Problem?<\/p>\n<p>\u8fd8\u662f&#xff1a;<\/p>\n<p>Desktop Compatibility?<\/p>\n<p>\u8fd9\u7c7b\u95ee\u9898\u5982\u679c\u5206\u5c42\u9519\u8bef&#xff0c;\u5f88\u5bb9\u6613\u6d6a\u8d39\u5927\u91cf\u65f6\u95f4\u53bb\u8c03Codex\u914d\u7f6e\u3002<\/p>\n<hr \/>\n<h3>\u5341\u3001Linux\u76ee\u524d\u4e5f\u4e0d\u80fd\u7167\u642cmacOS \/ Windows\u7684Computer Use\u6559\u7a0b<\/h3>\n<p>\u5f53\u524dLinux Preview\u5df2\u7ecf\u652f\u6301Projects\u3001\u672c\u5730\u6587\u4ef6\u548cCodex&#xff0c;\u4f46Computer Use\u6682\u65f6\u8fd8\u6ca1\u6709\u5728Linux Preview\u5f00\u653e&#xff1b;\u5b98\u65b9\u8868\u793a\u540e\u7eed\u4f1a\u589e\u52a0Linux\u652f\u6301\u3002<\/p>\n<p>\u6240\u4ee5\u76ee\u524dLinux\u5f00\u53d1\u8005\u66f4\u9002\u5408\u628a\u5b83\u7406\u89e3\u6210&#xff1a;<\/p>\n<p>ChatGPT Desktop<br \/>\n&#043;<br \/>\nLocal Project<br \/>\n&#043;<br \/>\nCodex<br \/>\n&#043;<br \/>\nTerminal<br \/>\n&#043;<br \/>\nGit<\/p>\n<p>\u800c\u4e0d\u662f\u5b8c\u6574\u7167\u642c\u5176\u4ed6\u5e73\u53f0&#xff1a;<\/p>\n<p>Agent<br \/>\n\u2193<br \/>\n\u64cd\u4f5c\u4efb\u610f\u684c\u9762\u8f6f\u4ef6<\/p>\n<p>\u8fd9\u4e00\u70b9\u5728\u5199Linux\u6559\u7a0b\u65f6\u6700\u597d\u660e\u786e\u533a\u5206&#xff0c;\u5426\u5219\u975e\u5e38\u5bb9\u6613\u9020\u6210&#xff1a;<\/p>\n<p>\u4e3a\u4ec0\u4e48\u6211\u8fd9\u91cc\u6ca1\u6709\u8fd9\u4e2a\u6309\u94ae&#xff1f;<\/p>\n<p>\u5176\u5b9e\u4e0d\u662f\u8d26\u53f7\u95ee\u9898\u3002<\/p>\n<p>\u800c\u662f&#xff1a;<\/p>\n<p>Platform Capability\u4e0d\u540c\u3002<\/p>\n<hr \/>\n<h2>\u5341\u4e00\u3001\u6211\u66f4\u63a8\u8350\u7684Linux\u9996\u6b21\u9a8c\u8bc1\u6d41\u7a0b<\/h2>\n<p>\u5982\u679c\u521a\u88c5\u597dLinux\u684c\u9762\u7248&#xff0c;<\/p>\n<p>\u4e0d\u8981\u7b2c\u4e00\u53e5\u8bdd\u5c31&#xff1a;<\/p>\n<p>\u5e2e\u6211\u91cd\u6784\u8fd9\u4e2aRepository\u3002<\/p>\n<p>\u5148\u5efa\u7acb\u4e00\u4e2a&#xff1a;<\/p>\n<p>Environment Verification Loop\u3002<\/p>\n<h4>\u7b2c\u4e00\u6b65&#xff1a;\u786e\u8ba4\u9879\u76ee<\/h4>\n<p>Project Root<br \/>\nGit Root<br \/>\nWorking Directory<\/p>\n<h4>\u7b2c\u4e8c\u6b65&#xff1a;\u786e\u8ba4Runtime<\/h4>\n<p>node -v<br \/>\npython &#8211;version<br \/>\ngit &#8211;version<\/p>\n<p>\u4ee5\u53ca\u5f53\u524d\u9879\u76ee\u771f\u6b63\u4f9d\u8d56\u7684Runtime\u3002<\/p>\n<h4>\u7b2c\u4e09\u6b65&#xff1a;\u786e\u8ba4Environment<\/h4>\n<p>PATH<br \/>\nRequired Env<br \/>\nCredentials<br \/>\nLocal Services<\/p>\n<h4>\u7b2c\u56db\u6b65&#xff1a;\u786e\u8ba4Git<\/h4>\n<p>git status<\/p>\n<p>\u660e\u786e\u5f53\u524dBaseline\u3002<\/p>\n<h4>\u7b2c\u4e94\u6b65&#xff1a;\u786e\u8ba4Permissions<\/h4>\n<p>Writable Root<br \/>\nSandbox<br \/>\nNetwork<br \/>\nApproval<\/p>\n<h4>\u7b2c\u516d\u6b65&#xff1a;\u6267\u884c\u4e00\u4e2a\u5c0f\u4efb\u52a1<\/h4>\n<p>\u4f8b\u5982&#xff1a;<\/p>\n<p>\u627e\u5230\u8fd9\u4e2a\u6a21\u5757\u5bf9\u5e94\u7684\u6d4b\u8bd5\u547d\u4ee4&#xff0c;\u4fee\u590d\u4e00\u4e2a\u4f4e\u98ce\u9669\u95ee\u9898&#xff0c;\u53ea\u4fee\u6539\u5fc5\u8981\u6587\u4ef6&#xff0c;\u5e76\u8fd0\u884c\u5bf9\u5e94\u6d4b\u8bd5\u3002<\/p>\n<p>\u6700\u540e\u68c0\u67e5&#xff1a;<\/p>\n<p>Diff<br \/>\n&#043;<br \/>\nTest Result<br \/>\n&#043;<br \/>\nUnexpected Changes<\/p>\n<p>\u6574\u6761\u94fe\u53ef\u4ee5\u538b\u7f29\u6210&#xff1a;<\/p>\n<p>Inspect<br \/>\n\u2193<br \/>\nBaseline<br \/>\n\u2193<br \/>\nSmall Change<br \/>\n\u2193<br \/>\nVerify<br \/>\n\u2193<br \/>\nScale Up<\/p>\n<p>\u5982\u679c\u5c0f\u4efb\u52a1\u90fd\u4e0d\u80fd\u7a33\u5b9a\u95ed\u73af&#xff0c;<\/p>\n<p>\u5c31\u4e0d\u5e94\u8be5\u76f4\u63a5\u5f00\u59cbLong Task\u3002<\/p>\n<hr \/>\n<h2>\u5341\u4e8c\u3001\u771f\u6b63\u503c\u5f97\u5efa\u7acb\u7684\u662f\u201c\u53ef\u91cd\u590d\u8fd0\u884c\u7684Linux Agent\u73af\u5883\u201d<\/h2>\n<p>\u4ece\u66f4\u6df1\u4e00\u5c42\u770b&#xff0c;<\/p>\n<p>Linux\u684c\u9762\u7248\u6700\u5927\u7684\u4ef7\u503c\u5e76\u4e0d\u53ea\u662f&#xff1a;<\/p>\n<p>Linux\u7ec8\u4e8e\u6709ChatGPT App\u4e86\u3002<\/p>\n<p>\u800c\u662fCodex\u5f00\u59cb\u66f4\u81ea\u7136\u5730\u8fdb\u5165Linux\u672c\u5730\u5f00\u53d1\u73af\u5883\u3002<\/p>\n<p>Codex\u684c\u9762App\u672c\u8eab\u5c31\u662f\u56f4\u7ed5\u591aThread\u3001Local Project\u3001Worktree\u3001Git\u4ee5\u53ca\u957f\u4efb\u52a1\u6765\u8bbe\u8ba1\u7684&#xff1b;\u800cLocal Environments\u53c8\u5141\u8bb8\u628aSetup\u548c\u5e38\u7528Actions\u76f4\u63a5\u53d8\u6210\u9879\u76ee\u914d\u7f6e\u3002<\/p>\n<p>\u8fd9\u610f\u5473\u7740\u672a\u6765\u4e00\u4e2a\u9879\u76ee\u9002\u4e0d\u9002\u5408Agent\u957f\u671f\u5de5\u4f5c&#xff0c;\u5f88\u5927\u7a0b\u5ea6\u4f1a\u53d6\u51b3\u4e8e\u5b83\u6709\u6ca1\u6709\u505a\u5230&#xff1a;<\/p>\n<p>Environment Reproducible<br \/>\nCommands Explicit<br \/>\nPermissions Bounded<br \/>\nVerification Repeatable<\/p>\n<p>\u800c\u4e0d\u662f&#xff1a;<\/p>\n<p>\u53ea\u6709\u67d0\u4e2a\u5f00\u53d1\u8005\u7684\u7535\u8111\u80fd\u8dd1<\/p>\n<p>\u5982\u679c\u4e00\u4e2a\u9879\u76ee\u53ea\u80fd\u4f9d\u8d56&#xff1a;<\/p>\n<p>\u6211\u8bb0\u5f97\u4ee5\u524d\u8981\u5148\u6267\u884c\u8fd9\u4e2a\u3002<\/p>\n<p>\u90a3\u5b83\u5bf9Agent\u5176\u5b9e\u5e76\u4e0d\u53cb\u597d\u3002<\/p>\n<hr \/>\n<h2>\u6700\u540e<\/h2>\n<p>ChatGPT Linux\u684c\u9762\u7248\u5b89\u88c5\u672c\u8eab\u5e76\u4e0d\u590d\u6742\u3002<\/p>\n<p>\u771f\u6b63\u5bb9\u6613\u8e29\u5751\u7684\u662f\u5b89\u88c5\u4ee5\u540e&#xff1a;<\/p>\n<p>App<br \/>\nProject<br \/>\nShell<br \/>\nRuntime<br \/>\nGit<br \/>\nPermissions<\/p>\n<p>\u6ca1\u6709\u5904\u5728\u540c\u4e00\u4e2a\u9884\u671f\u72b6\u6001\u3002<\/p>\n<p>\u6240\u4ee5\u6b63\u786e\u7406\u89e3\u5e94\u8be5\u662f&#xff1a;<\/p>\n<p>App Installed<br \/>\n\u2260<br \/>\nEnvironment Ready<\/p>\n<p>\u66f4\u5b8c\u6574\u7684\u8def\u5f84\u5e94\u8be5\u662f&#xff1a;<\/p>\n<p>Install<br \/>\n\u2193<br \/>\nProject Boundary<br \/>\n\u2193<br \/>\nShell \/ Runtime Baseline<br \/>\n\u2193<br \/>\nGit Checkpoint<br \/>\n\u2193<br \/>\nPermission Boundary<br \/>\n\u2193<br \/>\nSmall Task<br \/>\n\u2193<br \/>\nVerification<br \/>\n\u2193<br \/>\nLong Task<\/p>\n<p>\u5c24\u5176\u662fLinux\u73af\u5883\u9ad8\u5ea6\u53ef\u914d\u7f6e\u3002<\/p>\n<p>\u5f00\u53d1\u8005\u81ea\u5df1\u5e73\u65f6\u5df2\u7ecf\u4e60\u60ef\u7684\u5927\u91cf&#xff1a;<\/p>\n<p>PATH<br \/>\n.env<br \/>\nRuntime Manager<br \/>\nLocal Service<br \/>\nGlobal CLI<br \/>\nCredential<\/p>\n<p>\u5bf9Agent\u6765\u8bf4\u90fd\u53ef\u80fd\u5c5e\u4e8e\u9690\u85cf\u72b6\u6001\u3002<\/p>\n<p>\u771f\u6b63\u7a33\u5b9a\u7684\u505a\u6cd5&#xff0c;\u4e0d\u662f\u6bcf\u6b21\u51fa\u95ee\u9898\u4ee5\u540e\u544a\u8bc9Codex&#xff1a;<\/p>\n<p>\u4f60\u518d\u8bd5\u4e00\u4e0b\u3002<\/p>\n<p>\u800c\u662f\u9010\u6e10\u628a\u8fd9\u4e9b\u9690\u85cf\u72b6\u6001\u53d8\u6210&#xff1a;<\/p>\n<p>\u660e\u786e\u3001\u53ef\u6267\u884c\u3001\u53ef\u9a8c\u8bc1\u7684Environment Baseline\u3002<\/p>\n<p>\u5f53\u9879\u76ee\u80fd\u591f\u505a\u5230&#xff1a;<\/p>\n<p>Fresh Environment<br \/>\n\u2193<br \/>\nSetup<br \/>\n\u2193<br \/>\nRun<br \/>\n\u2193<br \/>\nVerify<\/p>\n<p>\u90fd\u53ef\u4ee5\u91cd\u590d\u5b8c\u6210&#xff0c;<\/p>\n<p>Codex\u5728Linux\u4e0a\u7684\u7a33\u5b9a\u6027\u624d\u771f\u6b63\u4ece&#xff1a;<\/p>\n<p>\u201c\u8fd9\u53f0\u7535\u8111\u78b0\u5de7\u80fd\u8dd1\u201d<\/p>\n<p>\u5347\u7ea7\u6210&#xff1a;<\/p>\n<p>\u201c\u8fd9\u4e2a\u9879\u76ee\u672c\u8eab\u5c31\u662fAgent Ready\u201d\u3002<\/p>\n<p>\u6301\u7eed\u66f4\u65b0Codex\u3001\u5927\u6a21\u578b\u5f00\u53d1\u76f8\u5173\u6280\u672f\u5185\u5bb9\u3002<br \/>\n\u957f\u671f\u4f7f\u7528\u5404\u7c7b\u4ee3\u7801\u5927\u6a21\u578b&#xff0c;\u6574\u7406\u4e86\u7a33\u5b9a\u7684AI\u4f1a\u5458\u8ba2\u9605\u6e20\u9053\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux\u7528\u6237\u4ee5\u524d\u4f7f\u7528Codex&#xff0c;\u66f4\u591a\u662f\u5728CLI\u6216\u8005IDE\u91cc\u5b8c\u6210\u3002\u73b0\u5728OpenAI\u5df2\u7ecf\u63a8\u51fa ChatGPT Linux\u684c\u9762\u7248Preview\u3002\u5f53\u524d\u5b98\u65b9\u652f\u6301Ubuntu 24.04\/26.04\u3001Debian 13\u3001Fedora 43\/44&#xff0c;\u5e76\u63d0\u4f9bx64\u548cARM64\u7248\u672c&#xff1b;\u767b\u5f55ChatGPT\u8d26\u53f7\u4ee5\u540e&#xff0c;\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528Projects\u3001\u672c\u5730\u6587\u4ef6\u548cCodex\u3002\u4f46\u771f\u6b63\u5f00\u59cb\u4f7f\u7528\u4ee5\u540e&#xff0c;\u5f88\u5bb9\u6613\u4ea7\u751f\u4e00\u4e2a\u8bef\u533a&#xff1a;App\u5df2\u7ecf<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[10832,53,5058,58,103],"topic":[],"class_list":["post-94534","post","type-post","status-publish","format-standard","hentry","category-server","tag-chatgptplus","tag-ai","tag-codex","tag-linux","tag-ubuntu"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>ChatGPT\u3001Codex\u5b9e\u6218\uff1aLinux\u684c\u9762\u7248\u600e\u4e48\u7528\uff1fUbuntu\u3001Debian\u3001Fedora\u8dd1Codex\u524d\u5148\u68c0\u67e5\u8fd96\u9879 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/94534.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ChatGPT\u3001Codex\u5b9e\u6218\uff1aLinux\u684c\u9762\u7248\u600e\u4e48\u7528\uff1fUbuntu\u3001Debian\u3001Fedora\u8dd1Codex\u524d\u5148\u68c0\u67e5\u8fd96\u9879 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"Linux\u7528\u6237\u4ee5\u524d\u4f7f\u7528Codex&#xff0c;\u66f4\u591a\u662f\u5728CLI\u6216\u8005IDE\u91cc\u5b8c\u6210\u3002\u73b0\u5728OpenAI\u5df2\u7ecf\u63a8\u51fa ChatGPT Linux\u684c\u9762\u7248Preview\u3002\u5f53\u524d\u5b98\u65b9\u652f\u6301Ubuntu 24.04\/26.04\u3001Debian 13\u3001Fedora 43\/44&#xff0c;\u5e76\u63d0\u4f9bx64\u548cARM64\u7248\u672c&#xff1b;\u767b\u5f55ChatGPT\u8d26\u53f7\u4ee5\u540e&#xff0c;\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528Projects\u3001\u672c\u5730\u6587\u4ef6\u548cCodex\u3002\u4f46\u771f\u6b63\u5f00\u59cb\u4f7f\u7528\u4ee5\u540e&#xff0c;\u5f88\u5bb9\u6613\u4ea7\u751f\u4e00\u4e2a\u8bef\u533a&#xff1a;App\u5df2\u7ecf\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/94534.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-14T10:01:06+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/94534.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/94534.html\",\"name\":\"ChatGPT\u3001Codex\u5b9e\u6218\uff1aLinux\u684c\u9762\u7248\u600e\u4e48\u7528\uff1fUbuntu\u3001Debian\u3001Fedora\u8dd1Codex\u524d\u5148\u68c0\u67e5\u8fd96\u9879 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-14T10:01:06+00:00\",\"dateModified\":\"2026-08-14T10:01:06+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/94534.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/94534.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/94534.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ChatGPT\u3001Codex\u5b9e\u6218\uff1aLinux\u684c\u9762\u7248\u600e\u4e48\u7528\uff1fUbuntu\u3001Debian\u3001Fedora\u8dd1Codex\u524d\u5148\u68c0\u67e5\u8fd96\u9879\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ChatGPT\u3001Codex\u5b9e\u6218\uff1aLinux\u684c\u9762\u7248\u600e\u4e48\u7528\uff1fUbuntu\u3001Debian\u3001Fedora\u8dd1Codex\u524d\u5148\u68c0\u67e5\u8fd96\u9879 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/94534.html","og_locale":"zh_CN","og_type":"article","og_title":"ChatGPT\u3001Codex\u5b9e\u6218\uff1aLinux\u684c\u9762\u7248\u600e\u4e48\u7528\uff1fUbuntu\u3001Debian\u3001Fedora\u8dd1Codex\u524d\u5148\u68c0\u67e5\u8fd96\u9879 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"Linux\u7528\u6237\u4ee5\u524d\u4f7f\u7528Codex&#xff0c;\u66f4\u591a\u662f\u5728CLI\u6216\u8005IDE\u91cc\u5b8c\u6210\u3002\u73b0\u5728OpenAI\u5df2\u7ecf\u63a8\u51fa ChatGPT Linux\u684c\u9762\u7248Preview\u3002\u5f53\u524d\u5b98\u65b9\u652f\u6301Ubuntu 24.04\/26.04\u3001Debian 13\u3001Fedora 43\/44&#xff0c;\u5e76\u63d0\u4f9bx64\u548cARM64\u7248\u672c&#xff1b;\u767b\u5f55ChatGPT\u8d26\u53f7\u4ee5\u540e&#xff0c;\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528Projects\u3001\u672c\u5730\u6587\u4ef6\u548cCodex\u3002\u4f46\u771f\u6b63\u5f00\u59cb\u4f7f\u7528\u4ee5\u540e&#xff0c;\u5f88\u5bb9\u6613\u4ea7\u751f\u4e00\u4e2a\u8bef\u533a&#xff1a;App\u5df2\u7ecf","og_url":"https:\/\/www.wsisp.com\/helps\/94534.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-14T10:01:06+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"5 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/94534.html","url":"https:\/\/www.wsisp.com\/helps\/94534.html","name":"ChatGPT\u3001Codex\u5b9e\u6218\uff1aLinux\u684c\u9762\u7248\u600e\u4e48\u7528\uff1fUbuntu\u3001Debian\u3001Fedora\u8dd1Codex\u524d\u5148\u68c0\u67e5\u8fd96\u9879 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-14T10:01:06+00:00","dateModified":"2026-08-14T10:01:06+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/94534.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/94534.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/94534.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"ChatGPT\u3001Codex\u5b9e\u6218\uff1aLinux\u684c\u9762\u7248\u600e\u4e48\u7528\uff1fUbuntu\u3001Debian\u3001Fedora\u8dd1Codex\u524d\u5148\u68c0\u67e5\u8fd96\u9879"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/94534","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=94534"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/94534\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=94534"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=94534"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=94534"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=94534"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}