# chsrc mit Homebrew, Nix, scoop, winget installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für chsrc in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:chsrc
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install chsrc
```

  Evidenz: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#chsrc
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/ch/chsrc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/chsrc
```

  Evidenz: Scoop official bucket manifest trees: bucket/chsrc.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id RubyMetric.chsrc -e
```

  Evidenz: Windows Package Manager source index: RubyMetric.chsrc from https://cdn.winget.microsoft.com/cache/source.msix

## Paketfakten

- **Paketschlüssel:** brew:chsrc
- **Paketmanager:** Homebrew
- **Version:** 0.2.6
- **Quellzusammenfassung:** Change Source for every software on every platform from the command-line
- **Homepage:** <https://chsrc.run/>
- **Repository:** <https://github.com/RubyMetric/chsrc>
- **Zuletzt aktualisiert:** 2026-07-25T06:48:41Z
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- chsrc (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 0.2.6
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

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

### Quellen

- <https://github.com/RubyMetric/chsrc>
- <https://github.com/RubyMetric/chsrc#readme>
- <https://api.github.com/repos/RubyMetric/chsrc>
- <https://api.github.com/repos/RubyMetric/chsrc/releases>
- <https://formulae.brew.sh/api/formula/chsrc.json>


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Andere Paketmanager-Einträge

- Nix - chsrc: normalized package name match | nixpkgs package indexes: pkgs/by-name/ch/chsrc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - main/chsrc: normalized package name match | Scoop official bucket manifest trees: bucket/chsrc.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - RubyMetric.chsrc: normalized package name match | Windows Package Manager source index: RubyMetric.chsrc from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/chsrc.yml](https://github.com/mxcl/pkgdb/blob/main/combined/chsrc.yml)


## Quellen

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
