Skip to content
Justice Tech School

Dart Get Started

Install the Dart SDK or Flutter, or try code in DartPad in the browser. Create a file ending in .dart and run it with dart run file.dart.

Example
// Terminal:
//   dart run hello.dart
void main() {
  print("Hello World");
}

Exercise

Run a file.

dart  hello.dart

Quiz Test

Which tool runs Dart files?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.