彩色标记版英文精读
悬停彩色词 -> 上方显示词类型 | 悬停整句 -> 下方显示中文翻译 | 点击英文句子/虚线词 -> 朗读
To get started with Codex, first choose how you want to use it: the app, an IDE extension, the CLI, or cloud.
要开始使用 Codex,先选择你想怎么用它:Codex app、IDE 扩展、CLI,或者云端。
After installation, sign in with your ChatGPT account or an API key, depending on the workflow you need.
安装之后,根据你需要的工作流,用 ChatGPT 账号或 API key 登录。
In the CLI, run codex in your terminal, authenticate, and ask Codex to work in the current directory.
在 CLI 里,在终端运行 codex,完成认证,然后让 Codex 在当前目录里工作。
Codex can then read project files, run commands, and make changes, so a clear first prompt matters.
之后 Codex 可以读取项目文件、运行命令并做出改动,所以第一条清晰的提示词很重要。
Before larger tasks, create a Git checkpoint so you can inspect, keep, or revert the changes safely.
在较大的任务之前,创建一个 Git checkpoint,这样你就可以检查、保留或安全地回退改动。
逐句精读
句子 1入口选择
英文原句:
To get started with Codex, first choose how you want to use it: the app, an IDE extension, the CLI, or cloud.
自然翻译:要开始使用 Codex,先选择你想怎么用它:Codex app、IDE 扩展、CLI,或者云端。
句子主干:Choose how you want to use it.
结构拆解:To get started with... 是目的短语;first 是顺序提示词;冒号后列出四种入口。
技术关键词:get started、IDE extension、CLI、cloud。
大白话解释:Quickstart 先让你选使用入口,再进入安装和登录。
句子 2登录方式
英文原句:
After installation, sign in with your ChatGPT account or an API key, depending on the workflow you need.
自然翻译:安装之后,根据你需要的工作流,用 ChatGPT 账号或 API key 登录。
句子主干:Sign in with your account or an API key.
结构拆解:After installation 标明顺序;depending on... 说明选择依据。
技术关键词:installation、sign in、API key、workflow。
大白话解释:登录方式会影响你后续能用的功能和计费路径。
句子 3CLI 第一步
英文原句:
In the CLI, run codex in your terminal, authenticate, and ask Codex to work in the current directory.
自然翻译:在 CLI 里,在终端运行 codex,完成认证,然后让 Codex 在当前目录里工作。
句子主干:Run codex, authenticate, and ask Codex to work.
结构拆解:In the CLI 限定场景;run、authenticate、ask 是连续动作;current directory 限定工作范围。
技术关键词:CLI、terminal、authenticate、current directory。
大白话解释:命令行版 Codex 要在你的项目目录里启动,才能围绕当前项目工作。
句子 4为什么 prompt 要清楚
英文原句:
Codex can then read project files, run commands, and make changes, so a clear first prompt matters.
自然翻译:之后 Codex 可以读取项目文件、运行命令并做出改动,所以第一条清晰的提示词很重要。
句子主干:Codex can read, run, and make changes.
结构拆解:can then 后面接三个并列动作;so 引出结果。
技术关键词:project files、run commands、make changes、prompt。
大白话解释:Codex 能实际行动,所以第一条任务描述不能含糊。
句子 5Git 安全网
英文原句:
Before larger tasks, create a Git checkpoint so you can inspect, keep, or revert the changes safely.
自然翻译:在较大的任务之前,创建一个 Git checkpoint,这样你就可以检查、保留或安全地回退改动。
句子主干:Create a Git checkpoint.
结构拆解:Before larger tasks 是时间条件;so you can... 说明目的;inspect、keep、revert 是并列动作。
技术关键词:larger tasks、Git checkpoint、inspect、revert。
大白话解释:大任务前先留安全点,方便你确认或撤回 Codex 的改动。