Tools for Server-Side Development

When you install the Dart SDK, you get all the command-line tools that you need to write Dart servers and command-line scripts.

The following tools have special support for running scripts and servers.

Standalone Dart VM: dart
Executes Dart code. IDEs that support Dart, and some of the pub commands, use this command behind-the-scenes to execute Dart scripts. Note that you must configure your IDE with the location of the dart binary.
Pub package manager: pub
Simplifies downloading and running scripts, with commands such as pub get, pub global activate, pub global run, and pub run.

Other SDK tools that are handy for script and server development include:

  • dartanalyzer: Statically analyzes code, helping you catch errors early.
  • dartfmt: Applies style guidelines to Dart code.
  • dartdoc: Generates API reference documentation.

For more information, including tools outside the Dart SDK, see Dart Tools.