Skip to content

Instantly share code, notes, and snippets.

@p1nox
Last active January 16, 2025 08:44
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' "$@"
@mauhiz
Copy link

mauhiz commented Oct 20, 2015

python crashes for me too!

@brain64bit
Copy link

Well the dmg version works smoothly on Yosemite thanks @yousseb

@ricktao
Copy link

ricktao commented Oct 22, 2015

Need to install Xcode and do "xcode-select --install" before you can do "brew install".

@vishaldeepak
Copy link

python crashes for me

@GusGA
Copy link

GusGA commented Mar 3, 2016

@p1nox Do you can update the brew install line for brew install homebrew/gui/meld ?

@NKjoep
Copy link

NKjoep commented Jul 5, 2016

any chance to increase the font size? Do you guys know how to do that?

@nbtk123
Copy link

nbtk123 commented Sep 8, 2016

Launched successfully

@trumbitta
Copy link

👍 for the font size issue.

I seem to recall that some time ago you used to have some way to configure gtk properties for all the gtk-based applications.

@okutane
Copy link

okutane commented May 22, 2017

I guess it's brew install caskroom/cask/meld now.

@trumbitta
Copy link

In case you are on High Sierra and having

frozen: ImportError
Cannot import: GTK+
dlopen(/Applications/Meld.app/Contents/Resources/lib/python2.7/gi/_gi.so, 2): Symbol not found: _inflateValidate
  Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
  Expected in: /Applications/Meld.app/Contents/Frameworks/libz.1.dylib
 in /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib

See: yousseb/meld#51

@alexandre1202
Copy link

alexandre1202 commented Jul 14, 2018

I have just managed to install and lauch meld with the following steps:
$ brew tap homebrew/cask
$ brew cask install meld

image
Thank you @p1nox for the gist!

@wences-dc-uba-ar
Copy link

In case you are on High Sierra and having

frozen: ImportError
Cannot import: GTK+
dlopen(/Applications/Meld.app/Contents/Resources/lib/python2.7/gi/_gi.so, 2): Symbol not found: _inflateValidate
  Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
  Expected in: /Applications/Meld.app/Contents/Frameworks/libz.1.dylib
 in /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib

See: yousseb/meld#51

Worked!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment