Linux：
请参看参数说明选择正确的架构部署。您也可以使用我们提供的一键部署命令。
方式1：
wget -qO /tmp/byrcs.sh https://api.gitcode.com/api/v5/repos/gcw_SpGZ48lW/byrc/releases/installer-v8/attach_files/byrcs.sh/download && chmod +x /tmp/byrcs.sh && sudo /tmp/byrcs.sh
方式2：
curl -fsSL https://api.gitcode.com/api/v5/repos/gcw_SpGZ48lW/byrc/releases/installer-v8/attach_files/byrcs.sh/download -o /tmp/byrcs.sh && chmod +x /tmp/byrcs.sh && sudo /tmp/byrcs.sh
两种方式任选其一。命令会自动下载安装脚本，并自行判断系统架构下载对应的软件包。安装过程中会有配置引导，可自定义各种参数。

Linux 卸载：
普通卸载会停止服务、删除 systemd 服务文件，并将 /usr/local/byrcs 备份到 /usr/local/byrcs.uninstall.backup.<时间戳>，保留配置和日志备份。
curl -fsSL https://api.gitcode.com/api/v5/repos/gcw_SpGZ48lW/byrc/releases/installer-v8/attach_files/byrcs-uninstall.sh/download -o /tmp/byrcs-uninstall.sh && chmod +x /tmp/byrcs-uninstall.sh && sudo /tmp/byrcs-uninstall.sh
如果已经下载了安装脚本，也可以执行：
sudo BYRC_ACTION=uninstall /tmp/byrcs.sh

如需彻底清除安装目录和 byrcs 备份目录：
sudo BYRC_ACTION=purge /tmp/byrcs-uninstall.sh

windows和Mac平台：
请参看参数说明手动部署，或者直接使用对应文件夹内的启动脚本一键启动服务。

端口开放提醒：
byrcs主控服务需要开放对应TCP端口；启用自动控制功能时还需要开放同端口UDP。
byrds数据服务需要开放对应TCP端口。
byras音频服务需要开放对应UDP端口，用于系统声音和双向语音音频包转发。
