We can use the dart utility in order to compile and execute code we write in Dart when using the command line.
main() { print("hello world!"); }
The following video clip shows the execution of this simple code sample. The video clip shows how to use this command when working on Mac. On other operating systems it should be similar.