Unison, a powerful file synchronizer, has long been one of my favorite tools. However, installing Unison on macOS used to be a manual and sometimes cumbersome process, as detailed inmy earlier guide.
The great news is that Unison is now available as a Homebrew cask! This means you can install it with a single command, leveraging the convenience and reliability of Homebrew’s package management.
To install Unison, simply run:
1 2 | brewinstall--caskunison-app |
This command will download and install the Unison application into your/Applicationsfolder.
After installation, you might encounter permission issues due to macOS’s security features (especially if you downloaded the app from the internet). To clear any extended attributes that might prevent Unison from launching, run:
1 2 | xattr-c/Applications/Unison.app |
This command removes quarantine flags and ensures Unison can start without macOS warnings.
For more details and troubleshooting tips, check outmy earlier guide.
Thank you for the resources to learn. They’re invaluable
Hi Lorenzo,
Given the challenges the unison maintainers have had with the stale macOS Cocoa UI, I created a new modern version, largely in Swift, that is native to macOS. It is even signed and notarized (so no need to remove the quarantine flags.
It can be installed via homebrew:
brew install –cask bcourbage/tap/unison-ui-mac
Or by downloading the pre-built release fromhttps://github.com/bcourbage/unison-ui-mac/releases. I hope you and other Mac users will find it helpful.
Comments and feedback are always welcome.
Bruno
Thanks for the software. But is it using unison under the hood or have you implemented the protocol yourself?
Hi Lorenzo,
Unison is fantastic—no need to reinvent the wheel. I used the “normal” Unison File Synchronizer under the hood, just like the Cocoa UI app does. Therefore, the UI I built is fully compatible with normal Unison installs you might get from homebrew or compiled from source.
Best,
Bruno