chsrc
« Back to VersTracker
Description:
Change Source for every software on every platform from the command-line
Type: Formula  |  Latest Version: 0.2.3@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: mirror package-manager cli developer-tools china-source
Install: brew install chsrc
About:
chsrc is a command-line utility designed to switch software package sources to high-speed mirrors globally. It automatically detects the user's region and selects the best available mirror, optimizing download and update speeds. The tool supports a wide range of ecosystems including RubyGems, Python pip, Node.js npm, and various Linux distributions.
Key Features:
  • Automatic mirror detection and selection based on geographic location
  • Supports over 50 software ecosystems and package managers
  • Simple, unified command-line interface for all sources
  • Community-driven mirror list with quality metrics
Use Cases:
  • Accelerating gem, pip, or npm installations in CI/CD pipelines
  • Improving package download speeds for developers in regions with poor upstream connectivity
  • Standardizing mirror configuration across development teams
Alternatives:
  • bundle config mirror – Ruby-specific, requires manual configuration per source
  • npm config set registry – Node.js only, manual setup without auto-detection
License: GPL-3.0-or-later
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, sonoma, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Sep 12, 2025 8:47pm 0 VERSION_BUMP a8fcb99e