一、设置代理

export https_proxy=http://127.0.0.1:10808 http_proxy=http://127.0.0.1:10808 all_proxy=socks5://127.0.0.1:10808

查询是否已启用代理

curl ip-api.com

二、安装依赖(需有homebrew)

brew install python curl screen git node yarn wget

(如无homebrew,使用如下命令安装)

/bin/bash -c "$(curl -fsSL <https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh>)"

三、运行集群

开启screen

screen -S gensyn

激活venv环境

python3 -m venv venv
source venv/bin/activate