在命令行中执行
tlmgr option repository https://mirror.bjtu.edu.cn/ctan/systems/texlive/tlnet
即可永久更改镜像源。
如果只需要临时切换,可以用如下命令:
tlmgr update --all --repository https://mirror.bjtu.edu.cn/ctan/systems/texlive/tlnet
其中的update --all指令可根据需要修改。
update --all