教程只适合Ubuntu跟Debian系统

1. 先换镜像源,就近选择,其他按需选择

1
bash <(curl -sSL https://linuxmirrors.cn/main.sh)

1.2 安装Python以及git等,

1
sudo apt install python3 python3-pip python3-venv pipx git -y

1.3 更换pip镜像源

1
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

2. 再安装uv

1
pipx install uv

添加环境变量

1
pipx ensurepath

至此所有需要的环境已经准备好了

3. 安装早柚还有依赖

1
git clone https://github.com/Genshin-bots/gsuid_core.git --single-branch

如果你是国内用户github连接不上,推荐使用自建的文件代理加速服务

1
git clone https://git.090708.xyz/github.com/Genshin-bots/gsuid_core.git --single-branch

4. 进入文件夹

1
cd gsuid_core

5. 安装依赖

1
uv sync
1
uv run python -m ensurepip

6. 早柚,启动!

1
uv run core
  • 到这里早柚就安装成功了