macOS
brew install unisonlocal Homebrew formula metadata
sudo port install unisonMacPorts ports tree · net/unison/Portfile · 来源: api.github.com
安装
brew install unisonlocal Homebrew formula metadata
sudo port install unisonMacPorts ports tree · net/unison/Portfile · 来源: api.github.com
sudo apk add unisonAlpine Linux edge package indexes · unison · 来源: dl-cdn.alpinelinux.org
sudo apt install unisonDebian stable package indexes · unison · 来源: deb.debian.org
sudo dnf install unisonFedora Rawhide package metadata · unison · 来源: dl.fedoraproject.org
nix profile install nixpkgs#unisonnixpkgs package indexes · pkgs/by-name/un/unison/package.nix · 来源: api.github.com
sudo pacman -S unisonArch Linux sync databases · unison · 来源: geo.mirror.pkgbuild.com
sudo zypper install unisonopenSUSE Tumbleweed package metadata · unison · 来源: download.opensuse.org
choco install unisonChocolatey community package catalog · unison · 来源: community.chocolatey.org
scoop install main/unisonScoop official bucket manifest trees · bucket/unison.json · 来源: api.github.com
winget install --id bcpierce00.unison -eWindows Package Manager source index · bcpierce00.unison · 来源: cdn.winget.microsoft.com
概览
File synchronization tool
历史
Unison is a long-running bidirectional file synchronizer for Unix-like systems, macOS, and Windows. It occupies a different niche from one-way mirroring tools: it lets two independently changed replicas converge while detecting conflicts, using a normal user account rather than a kernel filesystem or privileged service.
The original Unison web site at the University of Pennsylvania describes the tool as free software with a precise specification, support for Windows and many Unix variants, and transfer optimizations for small changes in large files. That site is now archival, and the project is hosted on GitHub.
Unison's implementation history matters to packagers because the executable, wire protocol, and archive format have historically been tied to OCaml details. The project addressed much of that pain in the 2.52 line by adding feature negotiation, a new OCaml-independent archive format, and a new wire protocol; later 2.53 releases continued modernizing build, GUI, Windows, extended attribute, and ACL support.
Unison has remained useful because it solved a stubborn workstation problem: keeping home directories, source trees, and personal data synchronized across laptops, servers, and operating systems without requiring a central always-on service. Its upstream README notes more than 25 years of use, and its package-manager footprint in the input spans Homebrew, Debian, Ubuntu, Fedora, Arch, Nix, MacPorts, Windows package managers, and others.
In package-manager culture, Unison also became a compatibility cautionary tale. Users often need compatible versions on both ends of a sync, so distribution lag, OCaml compiler changes, and remote-server availability can matter as much as the local binary itself.
Typical CLI usage is to synchronize two roots, either local paths or a local path and a remote path reached over ssh. The official manual emphasizes running the remote copy as the file owner, using ssh rather than insecure socket modes for ordinary remote synchronization, and reviewing conflicts before propagation.
Profiles stored as .prf files let users capture roots, paths, ignore rules, preferences, and repeat/watch behavior. For package users, the important executable split is the main unison CLI plus unison-fsmonitor, which supports watch-oriented workflows on platforms where it is available.
Unison is package-nerd interesting because it is both old and operationally picky: a small package upgrade can affect interoperability with a remote host, archive migration, GUI availability, and OCaml runtime compatibility. That makes it a favorite example when discussing why reproducible package sets, pinned versions, and cross-platform binary availability matter.
It also sits in the same practical toolbox as rsync while making a different tradeoff: rsync excels at one-way copy and deployment, while Unison tracks two replicas and asks the user to resolve real conflicts. That distinction keeps it relevant for dotfiles, laptops, research workstations, and mixed Unix/Windows environments.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/Library/Application Support/Unison/*.prf~/.unison/*.prf~/.unison/*.prf%USERPROFILE%\.unison\*.prf%HOME%\.unison\*.prfC:\.unison\*.prf可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
unison | cli | 全局可执行文件 | |
unison-fsmonitor | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/bcpierce00/unison
安装元数据
| 软件包键 | brew:unison |
|---|---|
| 版本 | 2.54.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/unison |
| 主页 | https://www.cis.upenn.edu/~bcpierce/unison/ |
| 仓库 | https://github.com/bcpierce00/unison |
| 上游文档 | https://github.com/bcpierce00/unison/wiki |
| 许可证 | GPL-3.0-or-later |
| 源码归档 | https://github.com/bcpierce00/unison/archive/refs/tags/v2.54.0.tar.gz |
| 最后更新 | 2026-05-01T04:33:37Z |
| Pulse | updated |
| 构建依赖 | ocaml |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | unison |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
unison 2.53+1
file-synchronization tool for Unix and Windows
sudo apt install unisonunison
nix profile install nixpkgs#unisonunison 2.53+1
file-synchronization tool for Unix and Windows
sudo apt install unisonunison 2.54.0-r0
Efficient file-synchronization tool
https://www.cis.upenn.edu/~bcpierce/unison/
sudo apk add unisonunison-doc 2.54.0-r0
Efficient file-synchronization tool (documentation)
https://www.cis.upenn.edu/~bcpierce/unison/
sudo apk add unison-docunison 2.54.0-1.fc45
File Synchronizer
https://github.com/bcpierce00/unison
sudo dnf install unisonunison-doc 2.54.0-1.fc45
Unison File Synchronizer documentation
https://github.com/bcpierce00/unison
sudo dnf install unison-docunison-gtk 2.54.0-1.fc45
Unison File Synchronizer GTK interface
https://github.com/bcpierce00/unison
sudo dnf install unison-gtkunison 2.54.0-1
File-synchronization tool
https://github.com/bcpierce00/unison/
sudo pacman -S unisonunison 2.53.8-1.4
File synchronization tool
https://github.com/bcpierce00/unison
sudo zypper install unisonunison-text 2.53.8-1.4
File synchronization tool
https://github.com/bcpierce00/unison
sudo zypper install unison-textunison
sudo port install unisonunison
choco install unisonmain/unison
scoop install main/unisonbcpierce00.unison
winget install --id bcpierce00.unison -eunison-fsmonitor
nix profile install nixpkgs#unison-fsmonitor来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.