Compile a Dart file to a native binary

dart

dart compile exe {{path/to/file.dart}}

click the source code to copy install dart on any operating system with command-not-found.com