帮助文档

Linux教程 命令行运行

管理员

clash (meta)

下载安装包

linux x64下载

curl 'https://d2.duckgogo.net/mihomo/mihomo-linux-amd64-v1.18.4.gz' -o mihomo.gz

linux arm64下载

curl 'https://d2.duckgogo.net/mihomo/mihomo-linux-arm64-v1.18.4.gz' -o mihomo.gz

解压缩

gzip -d mihomo.gz

增加运行权限

chmod +x mihomo-{version}

下载clash配置文件

curl “&flag=meta” -o config.yaml

运行

./mihomo-{version} -f config.yaml

以服务方式运行 - systemd

todo

sing-box

安装

Debian/Ubuntu

bash <(curl -fsSL https://sing-box.app/deb-install.sh)

Arch Linux

bash <(curl -fsSL https://sing-box.app/arch-install.sh)

拉取配置文件

curl “&flag=sing-box” -o config.json

启动

sing-box run -c config.json

以服务方式启动 - systemd

todo

参考链接

← 返回文档页面