How to tell whether an app is installed.
The executable a user launches, looked up on the path.
The npm package the app ships as, for a global-install check.
How to tell whether an app is installed.