install SDK https://www.dartlang.org/install/ pubspec.yaml command. pub get pub upgrade start dart. dart main.dart dart --checked test/hello_test.dart