2024-10-26 12:04:07 +08:00
<!DOCTYPE html>
2024-10-28 10:01:33 +08:00
< html lang = "zh-CN" >
2024-10-26 12:04:07 +08:00
< head >
< meta charset = "utf-8" >
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
2024-10-26 14:43:10 +08:00
< title > chsrc 全 平 台 通 用 换 源 工 具 与 框 架 | Change Source everywhere for every software< / title >
< meta name = "keywords" content = "chsrc,换源,linux,windows,macOS,npm,pip,yarn,brew,ubuntu,debian,cpan,fedora,gem,composer,cargo,maven,bsd" / >
< link rel = "stylesheet" type = "text/css" href = "index_html.css?h=19caec86" >
2024-10-28 10:57:10 +08:00
< meta name = "baidu-site-verification" content = "codeva-qdl1hIGxvW" / >
2024-10-28 10:19:46 +08:00
< script >
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?d6506765d7a88006fba8c00dd775203d";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
< / script >
2024-10-28 10:57:10 +08:00
<!-- Google tag (gtag.js) -->
< script async src = "https://www.googletagmanager.com/gtag/js?id=G-1X58LT2YZM" > < / script >
< script >
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-1X58LT2YZM');
< / script >
2024-10-26 12:04:07 +08:00
< / head >
< body >
< div class = "textstyle1" >
< div id = "container_3e575098" > < div id = "container_3e575098_padding" > < / div > < / div > < span class = "textstyle2" > < br / > < / span > < div id = "container_1f421e47" > < div id = "container_1f421e47_padding" > < div class = "textstyle3" > < span class = "textstyle4" > < br / > < br / > < / span > < / div >
< div class = "textstyle1" > < div id = "container_74cc30ce" > < div id = "container_74cc30ce_padding" > < div class = "textstyle3" > < span class = "textstyle5" > 全 平 台 通 用 换 源 工 具 与 框 架 chsrc, 目 标 支 持 Linux, Windows (MSYS2, Cygwin), macOS, BSD 等 尽 可 能 多 的 操 作 系 统 环 境 , 龙 芯 、 飞 腾 、 RISC-V 等 尽 可 能 多 的 CPU。 < br / > < br / > 我 们 使 用 < / span >
< span class = "textstyle6" > C99< / span >
< span class = "textstyle5" > 来 完 成 上 述 目 标 。 我 们 并 不 使 用 Python 或 JS 等 解 释 语 言 , 因 为 一 个 简 单 的 换 源 工 具 , 不 应 该 强 行 塞 给 用 户 一 个 庞 大 的 解 释 器 和 数 十 、 数 百 MB 其 他 文 件 。 < br / > < br / > 本 软 件 为 < / span > < span class = "textstyle6" > 自 由 软 件 < / span > < span class = "textstyle5" > , SDPX 软 件 许 可 证 为 < / span > < span class = "textstyle6" > GPL-3.0-or-later and MIT< / span > < span class = "textstyle5" > < br / > < br / > 源 代 码 : < br / > < / span > < ul id = "ul_7901585d" class = "ulstyle1" >
< li > < span class = "textstyle5" > < a href = "https://github.com/RubyMetric/chsrc" target = "_blank" > https://github.com/RubyMetric/chsrc< / a > < / span > < span class = "textstyle5" > < / span > < / li >
< li > < span class = "textstyle5" > < a href = "https://github.com/RubyMetric/chsrc" target = "_blank" > https://gitee.com/RubyMetric/chsrc< / a > < / span > < / div >
< / li >
< / ul >
< / div > < / div > < / div >
< div class = "textstyle3" > < span class = "textstyle2" > < br / > < br / > < br / > < br / > < / span > < / div >
< div style = "clear:both" > < / div > < / div > < / div > < span class = "textstyle2" > < br / > < / span > < div id = "container_50443472" > < div id = "container_50443472_padding" > < div class = "textstyle1" > < span class = "textstyle4" > < br / > < / span >
< h2 id = "heading_36175d75" > Windows 安 装 < / h2 > < div id = "anchor_58465b21" > < a name = "appointment" > < / a > < / div >
< / div >
< div class = "textstyle3" > < div id = "text_5f88a5e0" >
< div class = "textstyle1" >
< span class = "textstyle7" > $< / span >
< span class = "textstyle8" > < / span >
< span class = "textstyle9" > scoop install chsrc< / span >
< / div >
< / div >
< div id = "text_6d1ec1f3" >
< div class = "textstyle1" >
< span class = "textstyle10" > $ < / span >
< span class = "textstyle8" > < / span >
< span class = "textstyle9" > iwr -useb " https://chsrc.run/windows" | iex< / span >
< / div >
< / div >
< / div >
< div style = "clear:both" > < / div > < / div > < / div > < span class = "textstyle2" > < br / > < / span > < div id = "container_7c6af539" > < div id = "container_7c6af539_padding" > < div class = "textstyle3" > < span class = "textstyle2" > < br / > < br / > < / span >
< / div >
< div class = "textstyle1" > < h2 id = "heading_1bdf4e8c" > Linux 安 装 < / h2 > < / div >
< div class = "textstyle3" > < span class = "textstyle2" > < br / > < / span > < / div >
< div class = "textstyle1" > < span class = "textstyle4" > < br / > < / span > < span class = "textstyle2" > < br / > < / span > < / div >
< div class = "textstyle3" > < div id = "text_22f72509" >
< div class = "textstyle1" >
< span class = "textstyle11" > $< / span >
< span class = "textstyle8" > < / span >
< span class = "textstyle9" > yay -S chsrc-bin< / span >
< / div >
< / div >
< div id = "text_1f43b43a" >
< div class = "textstyle1" >
< span class = "textstyle11" > $< / span >
< span class = "textstyle10" > < / span >
< span class = "textstyle8" > < / span >
< span class = "textstyle9" > curl https:/chsrc.run/posix | sudo bash< / span >
< / div >
< / div >
< / div >
< div style = "clear:both" > < / div > < / div > < / div > < div id = "container_55665f04" > < div id = "container_55665f04_padding" > < div class = "textstyle1" > < span class = "textstyle4" > < br / > < / span > < h2 id = "heading_4789644e" > macOS 安 装 < / h2 > < div id = "anchor_6511bd12" > < a name = "appointment" > < / a > < / div >
< span class = "textstyle4" > < br / > < br / > < / span > < / div >
< div class = "textstyle3" > < div id = "text_35965677" > < div class = "textstyle1" > < span class = "textstyle8" > $< / span >
< span class = "textstyle12" > < / span >
< span class = "textstyle13" > curl https://chsrc.run/posix | sudo bash< / span >
< / div >
< / div > < div id = "text_371c8eaf" > < div class = "textstyle1" > < span class = "textstyle8" > $< / span >
< span class = "textstyle12" > < / span >
< span class = "textstyle13" > brew install chsrc< / span >
< / div >
< / div > < / div >
< div style = "clear:both" > < / div > < / div > < / div > < div id = "container_4b4e21bc" > < div id = "container_4b4e21bc_padding" > < div class = "textstyle3" > < span class = "textstyle2" > < br / > < / span >
< / div >
< div class = "textstyle1" > < h2 id = "heading_15f9c727" >
< span class = "textstyle14" >
2024-10-26 16:04:22 +08:00
< span class = "textstyle15" > Copyright © 2023-2025 < / span >
2024-10-26 12:04:07 +08:00
< span class = "textstyle15" > < a href = "https://github.com/RubyMetric" target = "_blank" > RubyMetric< / a > < / span >
< / span >
< / h2 >
< / div >
< div style = "clear:both" > < / div > < / div > < / div > < / div >
< / body >
< / html >