macOS
brew install chsrclocal Homebrew formula metadata
brew
Change Source for every software on every platform from the command-line. Version 0.2.5 via Homebrew; verified 2026-06-15.
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 | cli | global executable |
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.
https://github.com/RubyMetric/chsrc
install metadata
| Package key | brew:chsrc |
|---|---|
| Version | 0.2.5 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/chsrc |
| Homepage | https://chsrc.run/ |
| Repository | https://github.com/RubyMetric/chsrc |
| Upstream docs | https://github.com/RubyMetric/chsrc#readme |
| License | GPL-3.0-or-later |
| Source archive | https://github.com/RubyMetric/chsrc/archive/refs/tags/v0.2.5.tar.gz |
| Last updated | 2026-06-15T10:20:12-04:00 |
| Pulse | updated |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
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.