simply right-click the program in the Finder and choose "Show Package Contents," followed by opening the "Contents" folder in the window that appears. In here, locate the file called "Info.plist" which is a small text file in Apple's Property List XML format. As with all property lists, this file is organized in a key-and-value structure, so to instruct the system to prevent the program from displaying in the Dock, we simply need to add the following key and value to this file:
<key>LSUIElement</key>
<true/>