mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
Mirrors
This commit is contained in:
parent
25398e3b9e
commit
b6aeb26915
5 changed files with 28 additions and 2 deletions
7
mirror/set_mirror.ps1
Normal file
7
mirror/set_mirror.ps1
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue