Install with winget
$ winget install --id pjpv.zcode-switch --exact --version 1.7.2Run in Command Prompt, PowerShell, or Windows Terminal. Prompts for any agreements.
Silent install command for zcode-switch
zcode-switch uses EXE (NSIS). The silent install switches are /S.
zcode-switch_1.7.2_x64-setup.exe /S
For Intune admins
Stop chasing app updates. Pckgr patches them for you.
Automated application patching for Microsoft Intune. Pckgr keeps a curated library of 1,000+ apps continuously up-to-date in your tenant via Microsoft Graph - no manual repackaging, no chasing vendor sites.
Start free 30-day trialFrom $49/month. No credit card required.
Not on Intune? Pckgr RMM deploys and patches apps like this one on any Windows fleet. Free for up to 5 devices.
About
Z·SWITCH(zcode-switch)是一款 Tauri 2 桌面工具:在多个 ZCode 账号之间一键切换,自动显示额度。只换登录身份——项目、会话、设置全部共用不动。
功能
- 保存 / 切换账号:快照 credentials + config 双文件,原子替换;切换前自动保全当前登录,绝不丢号
- 添加账号:工具内 OAuth 登录新号(BigModel / z.ai 双入口),全程不动当前登录
- 额度展示:账号行内联显示套餐额度与重置时间,多套餐分组、错峰轮询
- 活动领取:可领套餐一键领取(GUI 验证码)
- 加密导入导出:.zsb 捆绑包,PBKDF2(100k) + AES-256-GCM 口令加密
- 中英双语:设置里一键切换 中文 / English,主窗、托盘、错误提示、CLI 输出全覆盖;首次运行按系统语言自动选择
- 托盘 / 开机自启 / CLI 自动化
安全设计
- 本地优先:所有数据在本地,无遥测、无远端存储;额度查询直连官方接口
- 防丢号:切换前自动保全未入库登录;文件写入走临时文件 + 原子 rename
- 路径穿越防护:账号 id 白名单([A-Za-z0-9-]),删除/读取均不可逃出账号库目录
- 加密导出:PBKDF2-HMAC-SHA256(100k 迭代)+ AES-256-GCM,随机 salt/nonce;错密码即失败,无明文痕迹(有单测断言)
- 凭据只在本地解密:enc:v1 解密仅用于显示用户名/邮箱;导出文件凭口令加密
Installers · v1.7.2
| Architecture | Type | Scope | Install | Download |
|---|---|---|---|---|
| x64 | EXE NSIS | user | Direct |
Copy a command tailored to that specific architecture, type, and scope - useful when winget would otherwise pick a different default.
Security
No known CVEs for zcode-switch.
Coverage is best-effort and depends on a winget package mapping to an NVD CPE entry. Absence here is not a guarantee of safety.
Related apps
Frequently asked questions
How do I install zcode-switch on Windows?
How do I install zcode-switch silently for unattended deployment?
What are the silent install switches for zcode-switch?
How do I uninstall zcode-switch via winget?
Is zcode-switch free?
Does zcode-switch work on Windows 10?
How do I keep zcode-switch up to date?
Recent versions
- 1.7.2latest
- 1.7.1
- 1.6.0
- 1.4.0