How do I find location of executable file? I was not able to use Illuminated Cloud on Mac since it required to enter Salesforce DX executable path which I don't know.

When I installed SFDX by downloading and executing installer https://developer.salesforce.com/media/salesforce-cli/sfdx-osx.pkg, it never asked me for a folder to install, so I didn't understand where it was installed.

How do I find where SFDX executable is installed to paste it here?
From https://salesforce.stackexchange.com/questions/272125/how-do-i-find-sfdx-cli-default-installation-folder-on-mac:

The simplest way is the type a command

which sfdx 


in Terminal.

/usr/local/bin/sfdx


Another (longer and more complicated) way (which I initially used) is to type command 

find / -iname sfdx 


in the Terminal and search in the results for the actual path

/usr/local/lib/sfdx/bin/sfdx