[+] 增加 git pip npm bash

This commit is contained in:
2025-01-13 15:42:08 +08:00
parent b504790438
commit f4ec37b97c
5 changed files with 39 additions and 1 deletions

8
init-pip.sh Normal file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
# 检查 pip 是否安装
if command -v pip &> /dev/null; then
echo "pip 已安装,正在配置镜像源..."
pip config set global.index-url https://mirrors.martin98.com/repository/pypi-group/simple
echo "镜像源配置完成。"
fi