Skip to content

Instantly share code, notes, and snippets.

@kjlubick
Last active November 2, 2023 02:49
Show Gist options
  • Save kjlubick/5a49a3ae5f39ae359997 to your computer and use it in GitHub Desktop.
Save kjlubick/5a49a3ae5f39ae359997 to your computer and use it in GitHub Desktop.
How to install Meld on Windows and getting it set up with Git
After installing it http://sourceforge.net/projects/meld-installer/
I had to tell git where it was:
git config --global merge.tool meld
git config --global diff.tool meld
git config --global mergetool.meld.path “C:\Program Files (x86)\Meld\meld\meld.exe”
And that seems to work. Both merging and diffing with “git difftool” or “git mergetool”
@deweysia
Copy link

deweysia commented Oct 23, 2018

This worked. Although the directory structure has changed so pay attention to the path. Thanks a lot!

@javgo
Copy link

javgo commented Jul 24, 2019

Thanks for the info!

Currently Meld is by default installed in C:\Program Files (x86)\Meld\Meld.exe so you may set it like this:

git config --global mergetool.meld.path 'C:\Program Files (x86)\Meld\Meld.exe'

@madphysicist
Copy link

I am having trouble setting this up. My errors look exactly like https://stackoverflow.com/q/58100654/2988730. It appears that GTK is not getting picked up for some reason.

@EzequielBurg
Copy link

thank you. This save me

@mangelozzi
Copy link

I added this to my path (env variable):

C:\Program Files (x86)\Meld

That way I can share my git config between windows and ubuntu (dont need to set mergetool.meld.path)

@AndreyDruzhbin
Copy link

Thank you!!!

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