Windows does not support the shebang, so you have to generate a bat file for that (or Composer does it for you). To make this example simple, I suggest doing it this way.