Files
2026-07-13 10:09:23 +00:00

247 lines
14 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!-- WEHUB_ZH_README -->
> [!NOTE]
> 本文档由 WeHub 基于上游 README 翻译整理,属于社区翻译,非官方中文文档。
> [English](./README.en.md) · [原始项目](https://github.com/Devolutions/UniGetUI) · [上游 README](https://github.com/Devolutions/UniGetUI/blob/HEAD/README.md)
> 原作者、版权与许可证归属以原始项目及本仓库 LICENSE 文件为准。
# 警告:**wingetui<sub>•</sub>com** 和 **unigetui<sub>•</sub>com** 是由第三方托管的虚假网站,请勿信任它们
<br>
## <img src="media/icon.png" height="40">Devolutions UniGetUI
> [!IMPORTANT]
> **重大公告:** UniGetUI 已与 Devolutions 开启新篇章。
> 请阅读 [博客文章](https://devolutions.net/blog/2026/03/unigetui-enters-its-next-chapter-with-devolutions/) 和 [官方新闻稿](https://www.globenewswire.com/news-release/2026/03/10/3253012/0/en/Devolutions-Acquires-UniGetUI-Strengthening-Security-and-Enterprise-Readiness.html).
[![Downloads](https://img.shields.io/github/downloads/Devolutions/UniGetUI/total?style=for-the-badge)](https://github.com/Devolutions/UniGetUI/releases/latest)
[![Release Version Badge](https://img.shields.io/github/v/release/Devolutions/UniGetUI?style=for-the-badge)](https://github.com/Devolutions/UniGetUI/releases)
[![Issues Badge](https://img.shields.io/github/issues/Devolutions/UniGetUI?style=for-the-badge)](https://github.com/Devolutions/UniGetUI/issues)
[![Closed Issues Badge](https://img.shields.io/github/issues-closed/Devolutions/UniGetUI?color=%238256d0&style=for-the-badge)](https://github.com/Devolutions/UniGetUI/issues?q=is%3Aissue+is%3Aclosed)<br>
UniGetUI 是一款以 Windows 为首要平台的直观 GUI,适用于 Windows 10 和 11 上最常见的 CLI 包管理器。macOS 和 Linux 也提供跨平台构建版本,支持的包管理器包括 [WinGet](https://learn.microsoft.com/en-us/windows/package-manager/), [Scoop](https://scoop.sh/), [Chocolatey](https://chocolatey.org/), [Homebrew](https://brew.sh/), [APT](https://wiki.debian.org/Apt), [DNF](https://dnf.readthedocs.io/), [Pacman](https://wiki.archlinux.org/title/Pacman), [Flatpak](https://flatpak.org/), [Snap](https://snapcraft.io/), [pip](https://pypi.org/), [npm](https://www.npmjs.com/), [Bun](https://bun.sh/), [.NET Tool](https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-tool-install), [PowerShell Gallery](https://www.powershellgallery.com/), 等。
通过 UniGetUI,你可以在一个界面中浏览、安装、更新和卸载来自多个包管理器的软件。
![image](media/UniGetUI-Image.png)
查看更多截图请[点击此处](#screenshots)
查看 [Package Managers(包管理器)](#package-managers) 章节了解更多详情!
**免责声明:** UniGetUI 与其集成的包管理器并无关联。软件包由第三方提供,安装前请审查来源和发布者。
![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/Devolutions/UniGetUI/dotnet-test.yml?branch=main&style=for-the-badge&label=Tests)<br>
> [!CAUTION]
> **UniGetUI 官方网站为 [https://devolutions.net/unigetui/](https://devolutions.net/unigetui/).**<br>
> **官方源码仓库为 [https://github.com/Devolutions/UniGetUI](https://github.com/Devolutions/UniGetUI).**<br>
> **无论其如何宣称,任何其他网站均应视为非官方。**
🔒 发现安全问题?请通过 [Devolutions 安全页面](https://devolutions.net/security/) 进行报告
## 项目托管
UniGetUI 由 Martí Climent 创建,现由 Devolutions 维护。该项目仍然免费、开源,并采用 MIT 许可证。Devolutions 的托管带来了长期投资、结构化治理、更强的安全流程,以及更广泛的企业级就绪路线图,同时保持 UniGetUI 独立且由社区驱动。
在 [Devolutions 公告](https://devolutions.net/blog/2026/03/unigetui-enters-its-next-chapter-with-devolutions/) 和 [官方新闻稿](https://www.globenewswire.com/news-release/2026/03/10/3253012/0/en/Devolutions-Acquires-UniGetUI-Strengthening-Security-and-Enterprise-Readiness.html). 中了解更多
## 目录
- **[UniGetUI 主页](https://devolutions.net/unigetui/)**
- [目录](#table-of-contents)
- [安装](#installation)
- [更新 UniGetUI](#update-unigetui)
- [项目托管](#project-stewardship)
- [功能](#features)
- [包管理器](#package-managers)
- [翻译](TRANSLATION.md)
- [贡献](#contributions)
- [截图](#screenshots)
- [常见问题](#frequently-asked-questions)
- [CLI 参考](docs/CLI.md)
- [IPC 参考](docs/IPC.md)
## 安装
<p>安装 UniGetUI 有多种方式 — 选择你更喜欢的一种即可!</p>
### Windows
UniGetUI 主要为 Windows 构建。Microsoft Store 是推荐的安装方式,但也提供直接安装程序和包管理器安装选项。
#### Microsoft Store 安装(推荐)
<a href="https://apps.microsoft.com/detail/xpfftq032ptphf"><img alt="alt_text" width="240px" src="https://get.microsoft.com/images/en-us%20dark.svg" /></a>
#### 下载 Windows 安装程序:
![GitHub Release](https://img.shields.io/github/v/release/Devolutions/UniGetUI?style=for-the-badge)
使用安装程序可获得最佳 Windows 体验。`UniGetUI.Installer.exe` 是旧版/默认的 x64 安装程序别名;如有需要,请使用明确指定架构的下载版本。
| 架构 | 安装程序 | 便携版 `.zip` |
|---|---|---|
| x64 | [UniGetUI.Installer.x64.exe](https://github.com/Devolutions/UniGetUI/releases/latest/download/UniGetUI.Installer.x64.exe) [默认 x64 别名](https://github.com/Devolutions/UniGetUI/releases/latest/download/UniGetUI.Installer.exe)) | [UniGetUI.x64.zip](https://github.com/Devolutions/UniGetUI/releases/latest/download/UniGetUI.x64.zip) |
| arm64 | [UniGetUI.Installer.arm64.exe](https://github.com/Devolutions/UniGetUI/releases/latest/download/UniGetUI.Installer.arm64.exe) | [UniGetUI.arm64.zip](https://github.com/Devolutions/UniGetUI/releases/latest/download/UniGetUI.arm64.zip) |
#### 通过 WinGet 安装:
![WinGet Package Version](https://img.shields.io/winget/v/Devolutions.UniGetUI?style=for-the-badge)
```cmd
winget install --exact --id Devolutions.UniGetUI --source winget
```
#### 通过 Scoop 安装:
![Scoop version](https://img.shields.io/scoop/v/unigetui?bucket=extras&style=for-the-badge)
```cmd
scoop bucket add extras
scoop install extras/unigetui
```
#### 通过 Chocolatey 安装:
![Chocolatey Version](https://img.shields.io/chocolatey/v/unigetui?style=for-the-badge)
```cmd
choco install unigetui
```
### NativeAOT 构建
所有支持平台(Windows、macOS 和 Linux)的发布包均使用 NativeAOT 编译,以提升启动性能并减小攻击面。如需在本地构建相同配置,仓库中提供了辅助发布配置和脚本:
```powershell
pwsh ./scripts/publish-nativeaot.ps1 -Platform x64 # or arm64
```
这会将 `src/UniGetUI.Avalonia/UniGetUI.Avalonia.csproj` 作为自包含的 NativeAOT 构建发布到 `artifacts/nativeaot/win-<platform>/`
### macOS
macOS 构建版本可从 GitHub Releases 获取。使用 `.dmg` 获得标准安装体验,或使用 `.tar.gz` 压缩包获得便携应用包。
| 架构 | `.dmg` | `.tar.gz` |
|---|---|---|
| Apple silicon (arm64) | [UniGetUI.macos-arm64.dmg](https://github.com/Devolutions/UniGetUI/releases/latest/download/UniGetUI.macos-arm64.dmg) | [UniGetUI.macos-arm64.tar.gz](https://github.com/Devolutions/UniGetUI/releases/latest/download/UniGetUI.macos-arm64.tar.gz) |
| Intel (x64) | [UniGetUI.macos-x64.dmg](https://github.com/Devolutions/UniGetUI/releases/latest/download/UniGetUI.macos-x64.dmg) | [UniGetUI.macos-x64.tar.gz](https://github.com/Devolutions/UniGetUI/releases/latest/download/UniGetUI.macos-x64.tar.gz) |
### Linux
Linux 构建版本可从 GitHub Releases 获取。Debian/Ubuntu 系列发行版请使用 `.deb` 包,Fedora/RHEL 系列请使用 `.rpm` 包,或使用 `.tar.gz` 压缩包获得便携构建。
| 架构 | `.deb` | `.rpm` | `.tar.gz` |
|---|---|---|---|
| x64 | [Download](https://github.com/Devolutions/UniGetUI/releases/latest/download/UniGetUI.linux-x64.deb) | [Download](https://github.com/Devolutions/UniGetUI/releases/latest/download/UniGetUI.linux-x64.rpm) | [Download](https://github.com/Devolutions/UniGetUI/releases/latest/download/UniGetUI.linux-x64.tar.gz) |
| arm64 | [Download](https://github.com/Devolutions/UniGetUI/releases/latest/download/UniGetUI.linux-arm64.deb) | [Download](https://github.com/Devolutions/UniGetUI/releases/latest/download/UniGetUI.linux-arm64.rpm) | [Download](https://github.com/Devolutions/UniGetUI/releases/latest/download/UniGetUI.linux-arm64.tar.gz) |
安装与你的发行版和架构匹配的软件包:
```bash
# Debian/Ubuntu-based distributions
sudo apt install ./UniGetUI.linux-x64.deb
# Fedora/RHEL-based distributions
sudo dnf install ./UniGetUI.linux-x64.rpm
# Portable archive
tar -xzf UniGetUI.linux-x64.tar.gz
./UniGetUI
```
使用 arm64 版本时,请将文件名中的 `x64` 替换为 `arm64`
## 更新 UniGetUI
UniGetUI 内置了自动更新程序。在 Windows 上,若通过 WinGet、Scoop 或 Chocolatey 安装,也可以在 UniGetUI 中像其他软件包一样进行更新。
## 功能特性
- 一键轻松安装、更新和卸载系统中的软件:UniGetUI 整合了你所用平台上最常用的包管理器(package manager)中的软件包,包括 WinGet、Chocolatey、Scoop、Homebrew、APT、DNF、Pacman、Flatpak、Snap、Pip、npm、Bun 和 .NET Tool。
- 发现新软件包并通过筛选轻松找到你想要的软件包。
- 安装前查看任意软件包的详细元数据。可获取直接下载 URL、发布者名称以及下载大小。
- 在执行操作前选择多个软件包,即可轻松批量安装、更新或卸载
- 自动更新软件包,或在有可用更新时收到通知。可按软件包跳过特定版本或完全忽略更新。
- 在支持的平台上,系统托盘图标也会显示可用更新和已安装的软件包,便于高效更新程序或从系统中移除软件包。
- 轻松自定义软件包的安装方式和位置。可为每个软件包选择不同的安装选项和开关。在支持的情况下可安装旧版本或强制指定架构。 \[但别担心,这些选项会针对该软件包保存,供后续更新使用*]
- 使用生成的软件包链接与朋友分享软件包。
- 导出自定义软件包列表,随后可导入到另一台机器,并使用先前指定的自定义安装参数安装这些软件包。配置机器或设置特定软件环境从未如此简单。
- 将软件包备份到本地文件,在迁移到新机器时可在数秒内轻松恢复你的配置*
## 包管理器
**注意:** 所有包管理器均支持基本的安装、更新和卸载流程,以及检查更新、发现新软件包和获取软件包详情。
UniGetUI 会根据当前平台加载相应的包管理器。Windows 版本包含 WinGet、Scoop、Chocolatey、Windows PowerShell、PowerShell 7、npm、Bun、pip、Cargo、.NET Tool 和 vcpkg。macOS 和 Linux 版本包含 Homebrew、PowerShell 7、npm、Bun、pip、Cargo、.NET Tool 和 vcpkgLinux 版本在适用时还会提供针对发行版的 APT、DNF、Pacman、Snap 和 Flatpak 支持。
![image](media/supported-managers.svg)
✅:UniGetUI 支持<br>
☑️:不直接支持,但可轻松实现<br>
⚠️:某些情况下可能无法使用<br>
❌:包管理器不支持<br>
<br>
## 翻译
UniGetUI 的翻译直接在本仓库中维护。当前语言列表、完成状态以及各语言的贡献者归属,请参见 [TRANSLATION.md](TRANSLATION.md)。如发现翻译问题或希望改进某一语言区域(locale),请提交 issue 或 pull request。
## 截图
![image](media/UniGetUI_1.png)
![image](media/UniGetUI_2.png)
![image](media/UniGetUI_3.png)
![image](media/UniGetUI_4.png)
![image](media/UniGetUI_5.png)
![image](media/UniGetUI_6.png)
![image](media/UniGetUI_7.png)
![image](media/UniGetUI_8.png)
![image](media/UniGetUI_9.png)
## 贡献
UniGetUI 得益于贡献者社区而不断发展壮大。Devolutions 感谢每一位为项目贡献代码、翻译、文档、测试和反馈的人。<br><br>
[![Contributors](https://contrib.rocks/image?repo=Devolutions/UniGetUI)](https://github.com/Devolutions/UniGetUI/graphs/contributors)<br><br>
## 常见问题
**问:我无法安装或升级某个 Winget 软件包!该怎么办?**<br>
答:这很可能是 Winget 本身的问题,而非 UniGetUI 的问题。
请根据具体情况,尝试在 PowerShell 或命令提示符(Command Prompt)中使用 `winget upgrade``winget install` 命令(例如:`winget upgrade --id Microsoft.PowerToys`),检查是否能够安装/升级该软件包。
如果仍无法解决,可考虑在 [Winget 项目页面](https://github.com/microsoft/winget-cli). 寻求帮助。<br>
#
**问:软件包名称被省略号截断——如何查看完整名称/ID?**<br>
答:这是 Winget 的已知限制。
更多详情请参阅此 issuehttps://github.com/microsoft/winget-cli/issues/2603.<br>
#
**问:杀毒软件提示 UniGetUI 是病毒!/ 浏览器阻止下载 UniGetUI**<br>
答:应用程序(即可执行文件)被阻止和/或误报为病毒的常见原因——即使像 UniGetUI 这样本身并无恶意——是因为使用人数相对较少。
再加上你可能正在下载刚发布的版本,在许多情况下,阻止未知应用也是防止真正恶意软件的良好预防手段。
由于 UniGetUI 是开源且可安全使用的,请在杀毒软件/浏览器的设置中将该应用加入白名单。<br>
#
**问:来自第三方包管理器的软件包安全吗?**<br>
答:UniGetUI 和包管理器维护者不对可供下载的每个软件包负责。软件包由第三方提供,理论上可能被篡改,无论其来自 WinGet、Scoop、Chocolatey、Homebrew、APT、DNF、Pacman、Flatpak、Snap 还是其他来源。
部分包管理器和仓库会实施检查以降低下载恶意软件的风险。即便如此,仍建议只从可信发布者处下载软件。
## 命令行界面:
CLI 参考文档请见[此处](docs/CLI.md)IPC 参考文档请见[此处](docs/IPC.md)。