Linux一键换源脚本

输入以下命令:

1
bash <(curl -sSL https://cdn.xiaolan.xin/linux.sh)

然后跟着脚本走就行了

此脚本基于LinuxMirrors,去除了赞助商广告(其实改了个寂寞,没改动功能)

Python Pip换源

清华大学镜像源:

1
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple/

阿里云镜像源:

1
pip config set global.index-url http://mirrors.aliyun.com/pypi/simple/
阅读更多...
  • Copyrights © 2023-2026 Xiaolan

请我喝杯咖啡吧~