Automic VaultAutomic Vault

brew

使用 Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, scoop, winget, zypper 安装 unison

查看 unison 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install unison

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install unison

MacPorts ports tree · net/unison/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add unison

Alpine Linux edge package indexes · unison · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install unison

Debian stable package indexes · unison · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install unison

Fedora Rawhide package metadata · unison · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#unison

nixpkgs package indexes · pkgs/by-name/un/unison/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S unison

Arch Linux sync databases · unison · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install unison

openSUSE Tumbleweed package metadata · unison · 来源: download.opensuse.org

Windows

Chocolatey已验证 · 92%
choco install unison

Chocolatey community package catalog · unison · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install main/unison

Scoop official bucket manifest trees · bucket/unison.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id bcpierce00.unison -e

Windows Package Manager source index · bcpierce00.unison · 来源: cdn.winget.microsoft.com

概览

软件包摘要

File synchronization tool

命令和别名

  • unison
  • unison-fsmonitor

历史

项目历史与用法

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.

时间线

  • 1990s-2000s: Unison developed as a cross-platform bidirectional file synchronizer at the University of Pennsylvania.
  • 2010s: The project moved from older hosting to GitHub after an SVN-to-Git transition.
  • 2022: Version 2.52 introduced feature negotiation plus OCaml-independent archive and wire formats.
  • 2022-2023: Version 2.53 added GTK3 GUI work, extended attributes, ACL support, Windows build improvements, and modernized build instructions.
  • 2026: Version 2.54 dropped the old wire protocol and pre-2.52 archive support.

Related projects

  • Unison is commonly compared with rsync, mirroring utilities, configuration-management tools, distributed filesystems such as Coda, and platform-specific sync tools. Its own documentation highlights these comparisons to explain why bidirectional reconciliation is its central feature.
  • The project is implemented in OCaml, so OCaml compiler and runtime evolution have been unusually visible in its packaging and compatibility story.

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:sync

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

macOS
~/Library/Application Support/Unison/*.prf~/.unison/*.prf
Unix
~/.unison/*.prf
Windows
%USERPROFILE%\.unison\*.prf%HOME%\.unison\*.prfC:\.unison\*.prf

可执行文件

已安装的可执行文件

命令类型暴露范围备注
unisoncli全局可执行文件
unison-fsmonitorcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本2.54.0
管理器更新时间2026-05-01
本地数据OK
上游当前
检测到的最新版本v2.54.0

https://github.com/bcpierce00/unison

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键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
Pulseupdated
构建依赖ocaml
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameunison
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

unison 2.53+1

file-synchronization tool for Unix and Windows

sudo apt install unison
  • Section: utils
  • Architecture: all
  • Source Package: meta-unison
  • 1 依赖
  • normalized package name match
  • 匹配方式:Unison
Debian stable package indexes · deb.debian.org · Debian stable package indexes: unison from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

unison

nix profile install nixpkgs#unison
  • normalized package name match
  • 匹配方式:Unison
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/un/unison/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

unison 2.53+1

file-synchronization tool for Unix and Windows

sudo apt install unison
  • Section: universe/net
  • Architecture: all
  • Source Package: meta-unison
  • 1 依赖
  • normalized package name match
  • 匹配方式:Unison
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: unison from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

unison 2.54.0-r0

Efficient file-synchronization tool

https://www.cis.upenn.edu/~bcpierce/unison/

sudo apk add unison
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: unison
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Unison
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: unison from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

unison-doc 2.54.0-r0

Efficient file-synchronization tool (documentation)

https://www.cis.upenn.edu/~bcpierce/unison/

sudo apk add unison-doc
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: unison
  • normalized package name match
  • 匹配方式:Unison
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: unison-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

unison 2.54.0-1.fc45

File Synchronizer

https://github.com/bcpierce00/unison

sudo dnf install unison
  • License: GPL-3.0-or-later AND LGPL-2.0-only AND LGPL-2.1-only AND LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: unison
  • 4 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Unison
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: unison from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

unison-doc 2.54.0-1.fc45

Unison File Synchronizer documentation

https://github.com/bcpierce00/unison

sudo dnf install unison-doc
  • License: GPL-3.0-or-later AND LGPL-2.0-only AND LGPL-2.1-only AND LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: unison
  • 1 提供
  • normalized package name match
  • 匹配方式:Unison
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: unison-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

unison-gtk 2.54.0-1.fc45

Unison File Synchronizer GTK interface

https://github.com/bcpierce00/unison

sudo dnf install unison-gtk
  • License: GPL-3.0-or-later AND LGPL-2.0-only AND LGPL-2.1-only AND LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: unison
  • 14 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Unison
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: unison-gtk from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

unison 2.54.0-1

File-synchronization tool

https://github.com/bcpierce00/unison/

sudo pacman -S unison
  • License: GPL-3.0-only
  • Architecture: x86_64
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Unison
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: unison from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

unison 2.53.8-1.4

File synchronization tool

https://github.com/bcpierce00/unison

sudo zypper install unison
  • License: GPL-3.0-or-later
  • Category: Productivity/Networking/Other
  • Architecture: x86_64
  • Source Package: unison
  • 11 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Unison
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: unison from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

unison-text 2.53.8-1.4

File synchronization tool

https://github.com/bcpierce00/unison

sudo zypper install unison-text
  • License: GPL-3.0-or-later
  • Category: Productivity/Networking/Other
  • Architecture: x86_64
  • Source Package: unison
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Unison
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: unison-text from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

unison

sudo port install unison
  • normalized package name match
  • 匹配方式:Unison
MacPorts ports tree · api.github.com · MacPorts ports tree: net/unison/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

unison

choco install unison
  • normalized package name match
  • 匹配方式:Unison
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: unison from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='6.5836','capture'
Scoop95%

main/unison

scoop install main/unison
  • normalized package name match
  • 匹配方式:Unison
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/unison.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

bcpierce00.unison

winget install --id bcpierce00.unison -e
  • normalized package name match
  • 匹配方式:Unison
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: bcpierce00.unison from https://cdn.winget.microsoft.com/cache/source.msix
Nix92%

unison-fsmonitor

nix profile install nixpkgs#unison-fsmonitor
  • installed executable or alias match
  • 匹配方式:Unison Fsmonitor
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/un/unison-fsmonitor/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment