Multiple Mac App Icons in Dock

I have multiple Cursor application icons in my Mac Dock. I think this happens when I do an upgrade, but I am unsure of how to debug this. What is particularly problematic is that when I pin the application in the Dock, then it will eventually stop using the pinned app, but show open windows (little dot under the app icon) for the non-pinned version of the application.

In the screenshot below, I opened Cursor through the terminal by running /usr/local/bin/cursor . Then it opened the unpinned version of the Cursor app.

What is going on here? How can I debug this?

image

Hey, maybe you have two applications installed? Or it opened from another location. Try right-clicking on the icon and check where the file is located. Do the same with the other icon. If they point to the same file, just remove the second icon from the dock.