deno compile [--output <OUT>] <SRC> will compile the script into a self-contained executable.

    As with , the runtime flags used to execute the script must be specified at compilation time. This includes permission flags.

    You can use cross compilation by adding CLI argument, benefiting that you can create binaries for other platforms in single CI machine. Deno supports compiling to Windows x64, macOS x64, macOS ARM and Linux x64 currently. Use deno compile --help to get the full list about compilation targets.