Skip to content

Instantly share code, notes, and snippets.

@bencat-sixense
Forked from p1nox/using_meld_on_mac.md
Created January 16, 2025 08:44
Show Gist options
  • Save bencat-sixense/d6d6f21db7a85144d3ab5df51c708448 to your computer and use it in GitHub Desktop.
Save bencat-sixense/d6d6f21db7a85144d3ab5df51c708448 to your computer and use it in GitHub Desktop.
Using meld on Mac

Using Meld merging tool on Mac

There are two ways of installing meld on osx (May 2023), using brew and .dmg package (from @yousseb). Since I found https://yousseb.github.io/meld/, I've installed it with .dmg package, but having macOS Ventura Version 13.4 (22F66) in place, it's not even starting for me. So I tried brew installation, and the application is working as expected, including symlink to start it from the terminal.

brew install --cask meld

# set meld as your default git mergetool
git config --global merge.tool meld

Requires: macOS >= 10.13 meld has been officially discontinued upstream. It may stop working correctly (or at all) in recent versions of macOS.


Previous docs


Troubleshooting:

  • If meld doesn't start from terminal, try this, modify the /usr/local/Caskroom/meld/3.19.2-r6,osx-15/meld.wrapper.sh script installed by brew to the following:
#!/bin/sh
rm -rf ~/Library/Saved\ Application\ State/org.gnome.meld.savedState
exec '/Applications/Meld.app/Contents/MacOS/Meld' "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment