
Product
Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.
galaxycodeswitch
Advanced tools
一键配置 Claude Code、Codex 和 GalaxyCode 的命令行工具,支持 YOLO 全自动模式,兼容 Linux/macOS/Windows/Termux
一键配置 Claude Code、Codex 和 GalaxyCode 的命令行工具
✨ 一键安装配置 - 自动安装和配置 AI 编码工具 🚀 快速便捷 - 简单的命令行交互界面 🌐 网络检测 - 自动检测服务器延迟 🔧 多工具支持 - 支持 Claude Code、Codex 和 GalaxyCode 💰 余额查询 - 自动显示 API 余额和用户信息 🖥️ 跨平台支持 - 支持 Linux、macOS、Windows、Termux
npm install -g galaxycodeswitch
安装后,运行以下命令启动配置向导:
galaxy
或使用完整命令:
galaxycodeswitch
galaxy 命令~/.bashrc 或 ~/.zshrcgalaxy 命令claude-relay.batclaude-relay.ps1claude-relay 或 claudeclaude-relay.bat 或 claudeclaude-relay.ps1 或 claudecodexgalaxycode运行工具后,你可以选择:
[1] 配置 Claude Code - 单独配置 Claude Code[2] 配置 Codex - 单独配置 Codex[3] 安装/更新 GalaxyCode - 安装套餐额度查询工具[4] 配置 Claude Code + Codex 🚀 - 同时配置两个工具[5] 全部安装/更新 ⭐ - 一次性安装所有工具[6] 自定义选择 - 自由选择要安装的工具[7] 更新 galaxycodeswitch - 更新到最新版本(如有可用)[0] 退出版本 3.3.0+ 新增功能:
工具会自动创建以下配置:
Linux/macOS/Termux:
~/.bashrc 或 ~/.zshrc/usr/local/bin/claude-relay 或 $PREFIX/bin/claude-relayWindows:
<npm_prefix>/claude-relay.bat<npm_prefix>/claude-relay.ps1~/.codex/~/.codex/config.toml~/.codex/auth.jsonLinux/macOS/Termux:
source ~/.bashrc
# 或
source ~/.zshrc
Windows: 重新启动终端窗口
重新运行配置工具即可:
galaxy
选择对应的配置选项(如 [1] 或 [2]),输入新的 API Key。
工具会自动检测网络延迟,如果连接失败,请检查:
galaxy 命令,操作与 Linux 相同galaxy,配置后使用 claude-relay.ps1 启动galaxy,配置后使用 claude-relay.bat 启动galaxy 会自动显示余额信息MIT
如有问题,请访问 银河录像局 获取帮助。
FAQs
一键配置 Claude Code、Codex 和 GalaxyCode 的命令行工具,场景式引导,支持 YOLO 全自动模式,兼容 Linux/macOS/Windows/Termux
The npm package galaxycodeswitch receives a total of 28 weekly downloads. As such, galaxycodeswitch popularity was classified as not popular.
We found that galaxycodeswitch demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.

Research
More than 140 Mastra npm packages were compromised in a supply chain attack that used a typosquatted dependency to deliver a cross-platform infostealer during installation.

Research
/Security News
A new npm package tests AI malware scanners with prompt injection, safety-triggering comments, context flooding, and obfuscated JavaScript.