This commit is contained in:
js0ny 2024-08-04 13:26:03 +08:00
parent 25398e3b9e
commit b6aeb26915
5 changed files with 28 additions and 2 deletions

7
mirror/set_mirror.ps1 Normal file
View file

@ -0,0 +1,7 @@
# pip
Set-Alias pip pip3
Set-Alias python python3
python -m pip install --upgrade pip
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
# npm
npm config set registry https://registry.npmmirror.com