@vitor, thank you! That makes perfect sense. For anyone else following, here's the line I added at top of my .mjs external script file:
#!/opt/homebrew/bin/node /opt/homebrew/bin/zx
For those less familiar, use 'which node' and 'which zx' at the terminal to discover the appropriate path for your binaries.