In macOS, to find a path of an application, for example Chromium:

$ osascript -e 'POSIX path of (path to application "Chromium")'