In macOS, to find a path of an application, for example Chromium:
Chromium
$ osascript -e 'POSIX path of (path to application "Chromium")'