Automic VaultAutomic Vault

brew

Install chsrc with Homebrew, Nix, scoop, winget

Change Source for every software on every platform from the command-line. Version 0.2.5 via Homebrew; verified 2026-06-15.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install chsrc

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#chsrc

nixpkgs package indexes · pkgs/by-name/ch/chsrc/package.nix · source: api.github.com

Windows

Scoopverified · 92%
scoop install main/chsrc

Scoop official bucket manifest trees · bucket/chsrc.json · source: api.github.com

Windows Package Managerverified · 92%
winget install --id RubyMetric.chsrc -e

Windows Package Manager source index · RubyMetric.chsrc · source: cdn.winget.microsoft.com

overview

Package summary

Change Source for every software on every platform from the command-line

Commands and aliases

  • chsrc

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2023: Public GitHub repository created.
  • 2024: Pre-release binaries published on GitHub Releases.
  • 2025: v0.2.0 and later releases continued the packaged CLI line.
  • 2026: Homebrew formula tracks v0.2.5.

Related projects

  • The README references chsrc-bootstrap for platforms without prebuilt binaries and describes recipes as the way contributors add new source-changing targets.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
chsrccliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version0.2.5
manager updated2026-06-15
local dataok
upstreamcurrent
latest detectedv0.2.5

https://github.com/RubyMetric/chsrc

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:chsrc
Version0.2.5
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/chsrc
Homepagehttps://chsrc.run/
Repositoryhttps://github.com/RubyMetric/chsrc
Upstream docshttps://github.com/RubyMetric/chsrc#readme
LicenseGPL-3.0-or-later
Source archivehttps://github.com/RubyMetric/chsrc/archive/refs/tags/v0.2.5.tar.gz
Last updated2026-06-15T10:20:12-04:00
Pulseupdated
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namechsrc
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

chsrc

nix profile install nixpkgs#chsrc
  • normalized package name match
  • Matched by: Chsrc
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ch/chsrc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Scoop95%

main/chsrc

scoop install main/chsrc
  • normalized package name match
  • Matched by: Chsrc
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/chsrc.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

RubyMetric.chsrc

winget install --id RubyMetric.chsrc -e
  • normalized package name match
  • Matched by: Chsrc
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: RubyMetric.chsrc from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment