win-install-qbittorrent
Windows 安装 qBittorrent 下载工具
补充说明
qBittorrent 是一款免费开源的 BT 下载客户端,界面简洁无广告,支持 DHT、PEX、磁力链接、RSS 订阅和下载规则。
安装 qBittorrent
- CMD 下载命令
# 安装 qBittorrent
cd /d "%USERPROFILE%\Downloads" && curl.exe -L -o qbittorrent-installer.exe https://sourceforge.net/projects/qbittorrent/files/qbittorrent-win32/qbittorrent-4.6.4/qbittorrent_4.6.4_x64_setup.exe/download && qbittorrent_4.6.4_x64_setup.exe /S
- PowerShell 下载命令
# 安装 qBittorrent
cd ~\Downloads; curl.exe -L -o qbittorrent-installer.exe https://sourceforge.net/projects/qbittorrent/files/qbittorrent-win32/qbittorrent-4.6.4/qbittorrent_4.6.4_x64_setup.exe/download; .\qbittorrent_4.6.4_x64_setup.exe /S
winget 安装命令
推荐使用 winget 安装,自动处理依赖、静默后台执行
winget install -e --id qBittorrent.qBittorrent -h --accept-package-agreements --accept-source-agreements
-e:精确匹配包 ID,杜绝装错-h:静默安装,不弹出向导窗口--accept-package-agreements:自动同意许可协议--accept-source-agreements:同意源协议,批量部署必备
使用前提
- 系统:Windows 11 / 10 1709+(自带 winget)
- 权限:以管理员身份运行 CMD,否则 UAC 中断自动化
- 网络:需正常联网
执行结果
- 未安装 → 自动下载 + 静默安装,无弹窗
- 已装同版本 → 提示已安装,不重复操作
- 已有旧版 → 不会自动升级,如需升级请运行
winget upgrade qBittorrent.qBittorrent