How do I open FileMerge.app on Mac OS 10.13+ and Xcode 9+?

23.7k Views Asked by At

I see FileMerge in the Xcode app bundle:

/Applications/Xcode.app/Contents/Applications/FileMerge.app

I know I can open it on the command line using:

open /Applications/Xcode.app/Contents/Applications/FileMerge.app

But there seems like there should be an easier way. How can I tell Spotlight about FileMerge so I can open it with the keyboard? Is there another way to launch it without having to use the command-line?

5

There are 5 best solutions below

1
On

Put an alias into the Applications folder. Spotlight and Launchpad will find it.

2
On

Symbolic links also work.

% cd /Applications

% ln -s Xcode.app/Contents/Applications/FileMerge.app/ .

4
On

On MacOS Catalina, you just need to open spotlight (cmd+space) and type "FileMerge".

3
On

I had to do xcode-select -s /Applications/Xcode.app/Contents/Developer in order to have opendiff be accessible (required for SourceTree).

0
On

The easiest way I found was open -a FileMerge