macOS
brew install chsrclocal Homebrew formula metadata
安装
brew install chsrclocal Homebrew formula metadata
nix profile install nixpkgs#chsrcnixpkgs package indexes · pkgs/by-name/ch/chsrc/package.nix · 来源: api.github.com
scoop install main/chsrcScoop official bucket manifest trees · bucket/chsrc.json · 来源: api.github.com
winget install --id RubyMetric.chsrc -eWindows Package Manager source index · RubyMetric.chsrc · 来源: cdn.winget.microsoft.com
概览
Change Source for every software on every platform from the command-line
历史
chsrc is a cross-platform command-line tool and framework for switching software download and package sources, aimed especially at environments where mirror choice affects install speed or reachability.
The public GitHub repository was created in September 2023, and the README describes the project as a C11-based tool intended to avoid forcing users to install a large interpreted-language runtime just to change sources. Its docs frame chsrc as both a CLI and a recipe-oriented source-switching framework.
The upstream README documents packaging through Homebrew, Scoop, WinGet, and AUR, while the batch input also records Nix packaging. The README says the tool supports more than 65 source-changing targets, which gives it a broader scope than one-off mirror-switch scripts.
Typical use is to list supported targets and mirrors, measure mirror speed, set a target to the fastest or selected mirror, inspect the current source, or reset a target to its upstream default. The README shows package-manager installation plus curl-based installers for POSIX and Windows systems.
chsrc matters to package-manager users because it treats mirror selection as a repeatable CLI workflow across many ecosystems rather than as hand-edited per-tool configuration. Its package-manager distribution also makes it a meta-package-management utility: a package installed by package managers to reconfigure package sources.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
chsrc | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/RubyMetric/chsrc
安装元数据
| 软件包键 | brew:chsrc |
|---|---|
| 版本 | 0.2.5 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/chsrc |
| 主页 | https://chsrc.run/ |
| 仓库 | https://github.com/RubyMetric/chsrc |
| 上游文档 | https://github.com/RubyMetric/chsrc#readme |
| 许可证 | GPL-3.0-or-later |
| 源码归档 | https://github.com/RubyMetric/chsrc/archive/refs/tags/v0.2.5.tar.gz |
| 最后更新 | 2026-06-15T10:20:12-04:00 |
| Pulse | updated |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | chsrc |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
chsrc
nix profile install nixpkgs#chsrcmain/chsrc
scoop install main/chsrcRubyMetric.chsrc
winget install --id RubyMetric.chsrc -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.