[Content] 增加 Codex CLI/Desktop 多账号 profile 隔离说明

Open Beginner friendly
#25 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Quiet
Tech stack
bash

Research direction

No file or test is named. Locate the advanced or troubleshooting documentation covering Codex CLI/Desktop, then add the manual CODEX_HOME isolation explanation and its system-isolation limits; keep the optional codex-profiles mention clearly separate. Done means the distinction between local-state and full system isolation is clear.

Written by the indexing model from the issue text.

Description

你好,感谢维护 CodexGuide,这个项目对中文 Codex 用户很有帮助。

我想建议补一个很小的高级/排障条目:Codex CLI/Desktop 的多账号 profile 隔离。这个可以先讲原理,而不是直接推荐工具:

  • Codex 的本地状态跟 CODEX_HOME 相关;个人、工作、学校、客户项目如果使用不同的 CODEX_HOME,可以减少 auth、config、sessions、plugins、cache 混在一起的情况。
  • 这个隔离只覆盖 Codex 本地状态,不等于完整的系统级隔离;同一个 OS 用户下的 SSH keys、GitHub CLI 登录、浏览器 cookies 等还是共享的。
  • 对严格隔离场景,还是应该使用不同 OS 用户、容器或独立机器。

如果你觉得适合,也可以在文末用一行提到一个社区维护的小工具 codex-profiles,它只是把这个 CODEX_HOME profile 切换流程包装成 Bash CLI:
https://github.com/Ducksss/codex-profiles

完全理解如果你更想把内容保持为纯手动配置说明;这个建议的核心是让多账号/多客户使用 Codex 的边界更清楚。

Dominant language
TypeScript
Stars
3.6k
Forks
331
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from freestylefly/CodexGuide

All issues in freestylefly/CodexGuide

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.