Is it required to add php bin/magento before command?

Is it required to add php bin/magento before command?

No, it not required to add prefix like php bin/magento or bin/magento before the command.

You can type commands straightforward like setup:static-content:deploy, cache:status.