curl -Ls https://raw.githubusercontent.com/ahhfzwl/sing-box/refs/heads/main/add.sh | sh
bash <(curl -Ls https://raw.by.now.cc/ahhfzwl/sing-box/main/sing-box.sh) del
bash <(curl -Ls https://raw.by.now.cc/ahhfzwl/sing-box/main/sing-box.sh) add
https://fscarmen.cloudflare.now.cc/
wget "$(curl -s https://api.github.com/repos/SagerNet/sing-box/releases/latest | grep -o "https://github.com/SagerNet/sing-box/releases/download/.*/sing-box-.*-linux-$(uname -m | sed 's/x86_/amd/; s/aarch/arm/').tar.gz" | sort -V | head -n 1)"
tar -zxvf sing-box-*
mv ./sing-box-*/sing-box /usr/local/bin/
rm -rf sing-box-*
mkdir /etc/sing-box
setsid sing-box run -c /etc/sing-box/config.json > /dev/null 2>&1 &