Skip to main content
Note about executable state.
Source Link
Graham Miln
  • 44.6k
  • 8
  • 94
  • 127

.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.

.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.

.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.

Source Link
Graham Miln
  • 44.6k
  • 8
  • 94
  • 127

.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.