You must have Dart-VM (Dart-Runtime) installed in order to be able to run Dart applications on the command line / server.
As far as I know, there is no way to create a standalone executable, at least not an easy one.
It is technically possible to create an executable file containing Dart-VM, but so far there are no tools available that generate this for you. I do not think that a path using Dart2JS will help much. Dart2JS is primarily aimed at browsers, but I heard that some are trying to use Dart2JS to run Dart code using Node.js, but I don’t know if this really works.
This similar question contains some links that may interest you: Insert Dart into the application
Günter zöchbauer
source share