At times, you may need GNU versions of command line utilities on macOS. For example, GNU find.
As usual, Homebrew saves the day. Install with:
brew install findutils
Unless you install with –with-default-names (I don't), GNU utilities will be prefixed with a "g".
gfind --version
If you need more, there are others:
brew install binutils
brew install diffutils
brew install ed
brew install findutils
brew install gawk
brew install gnu-indent
brew install gnu-sed
brew install gnu-tar
brew install gnu-which
brew install gnutls
brew install grep
brew install gzip
brew install screen
brew install watch
brew install wdiff --with-gettext
brew install wget