macOS
brew install chsrclocal Homebrew formula metadata
brew / rank 3430
Change Source for every software on every platform from the command-line. Version 0.2.6 via Homebrew; verified 2026-07-25. Also installable with nix: nix profile install nixpkgs#chsrc.
install
brew install chsrclocal Homebrew formula metadata
nix profile install nixpkgs#chsrcnixpkgs package indexes · pkgs/by-name/ch/chsrc/package.nix · source: api.github.com
scoop install main/chsrcScoop official bucket manifest trees · bucket/chsrc.json · source: api.github.com
winget install --id RubyMetric.chsrc -eWindows Package Manager source index · RubyMetric.chsrc · source: cdn.winget.microsoft.com
overview
Change Source for every software on every platform from the command-line
history
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
chsrc | executable | indexed executable | Discovered from the local executable index. |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:chsrc |
|---|---|
| Version | 0.2.6 |
| Package manager | Homebrew |
| Homepage | https://chsrc.run/ |
| Repository | https://github.com/RubyMetric/chsrc |
| Last updated | 2026-07-25T06:48:41Z |
| Pulse | updated |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
chsrc
nix profile install nixpkgs#chsrcmain/chsrc
scoop install main/chsrcRubyMetric.chsrc
winget install --id RubyMetric.chsrc -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.