.command
A simple approach would be to distribute the shell script with the file extension .command
.
When a .command
file is opened on macOS, Terminal.app will launch and the script will be executed.
The file may need to be marked executable. If so, distribute the file as a zip or within a disk image.