-
-
Notifications
You must be signed in to change notification settings - Fork 2
Development Releases
Prerelease warning: the rolling
devbuild contains changes intended for the next stable release. It may change again before release. Do not use it when you need stable production behavior.For stable-channel updates, Homebrew rules, and legacy-install migration, see Updating.
For an existing direct installation:
codex-switch self-update --devFor a new macOS or Linux installation:
curl -fsSL https://github.com/xjoker/codex-switch/releases/download/dev/install.sh | bash -s -- --devDo not substitute a raw.githubusercontent.com/.../master/scripts/install.sh URL. That old branch can serve a retired installer which writes to /usr/local/bin. The dev Release asset above defaults to $HOME/.local/bin; it requests sudo only for the one-time removal of a root-owned legacy binary, or when you explicitly pass --system.
For a new Windows installation, run this in PowerShell:
$env:CS_DEV="1"
irm https://github.com/xjoker/codex-switch/releases/download/dev/install.ps1 | iexHomebrew distributes stable releases only and owns its Cellar binary. Do not use self-update --dev against a Homebrew installation. Remove the package, then use the direct dev installer:
brew uninstall codex-switch
curl -fsSL https://github.com/xjoker/codex-switch/releases/download/dev/install.sh | bash -s -- --devProfiles and configuration remain under ~/.codex-switch; changing binary ownership does not reset them.
Confirm that the reported version ends in -dev, then check the rolling channel without modifying the installation:
codex-switch --version
codex-switch self-update --check --devThe installer and self-updater preserve profiles and configuration. On macOS and Linux, current direct installs default to the user-owned $HOME/.local/bin; Windows direct installs use %LOCALAPPDATA%\Programs\codex-switch.
Use the smallest path that covers the behavior you want to test:
codex-switch list
codex-switch tuiIf you are testing a specific command, run codex-switch <command> --help before exercising it. Do not use live reset cards, profile deletion, daemon installation, or account switching unless those actions are part of the intended test.
Open an issue with:
- operating system, architecture, terminal, and installation method
- output from
codex-switch --version - the exact command and the expected and actual behavior
- the smallest reproducible sequence
- redacted diagnostic output when needed
codex-switch --debug <command>Remove tokens, profile contents, email addresses, account IDs, workspace names, identifying filesystem paths, and proxy credentials before sharing output. Use the GitHub issue tracker.
For a direct installation:
codex-switch self-update --stableTo return to Homebrew ownership, remove the direct installation and reinstall xjoker/tap/codex-switch with Homebrew.
curl -fsSL https://github.com/xjoker/codex-switch/releases/download/dev/install.sh | bash -s -- --uninstall
brew install xjoker/tap/codex-switchWhen the uninstaller asks whether to remove the data directory, answer N to preserve profiles and configuration.
dev 是下一正式版发布前的滚动测试通道,可能继续变化。直装用户可运行 codex-switch self-update --dev;macOS/Linux 新装使用安装脚本的 --dev 参数,Windows PowerShell 设置 $env:CS_DEV="1" 后运行安装脚本。安装后用 codex-switch --version 确认版本以 -dev 结尾,并用 codex-switch self-update --check --dev 检查通道。测试结束后运行 codex-switch self-update --stable 回到直装正式版。
Homebrew 只提供正式版。切换开发版前先运行 brew uninstall codex-switch,再使用带 --dev 的直装脚本。若测试后希望恢复 Homebrew 管理,运行直装卸载脚本、在删除数据目录的询问中选择 N,然后执行 brew install xjoker/tap/codex-switch。
提交问题前请删除 Token、profile 内容、邮箱、account ID、工作区名称、可识别身份的路径和代理凭据。更多中文入口见中文指南。
- Learn the supported workflows in the Feature guide.
- Review stable-channel and migration details in Updating.
- Diagnose a failed install or update with Troubleshooting.