国内镜像源地址
npm镜像地址
# 切换源
npm config set registry https://registry.npmmirror.com
# 查看当前的镜像源
npm config get registry
pip镜像地址
# 临时切换源
pip install django -i https://mirrors.aliyun.com/pypi/simple
# 永久切换源
pip config set global.index-url https://mirrors.aliyun.com/pypi/simple
# 查看源地址
pip config list