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:
- Executes Dart code.
IDEs that support Dart,
and some of the
pubcommands, use this command behind-the-scenes to execute Dart scripts. Note that you must configure your IDE with the location of the
- Pub package manager:
- Simplifies downloading and running scripts,
with commands such as
pub global activate,
pub global run, and
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.