Examples (7)
Initialize a new Dart project in a directory of the same name
dart create project_nameRun a Dart file
dart run path/to/file.dartDownload dependencies for the current project
dart pub getUpdate an outdated project's dependencies to support null-safety
dart pub upgrade --null-safetyCompile a Dart file to a native binary
dart compile exe path/to/file.dartApply automated fixes to the current project
dart fix --applymade by @shridhargupta | data from tldr-pages