When you’re ready to create an app, get the SDK and tools for your app type.
|App type||Get started instructions||Tool information|
|Mobile||Install Flutter||Flutter tools|
|Web||Install the Dart SDK||General-purpose tools and web tools|
|Server or command line||Install the Dart SDK||General-purpose tools and specialized tools|
The following tools support the Dart language on all platforms.
DartPad is a great, no-download-required way to learn Dart syntax and to experiment with Dart language features. It supports Dart’s core libraries, except for VM libraries such as dart:io.
IDEs and editors
Dart plugins exist for these commonly used IDEs.
The following Dart plugins are also available, thanks to the Dart community.
The Dart SDK includes the following general-purpose tools:
- A static analyzer that evaluates and reports any errors or warnings in your code. The Dart plugin for your IDE should make use of Dart’s analysis engine, but you can also run the analyzer from the command line.
- A documentation generator.
For examples of dartdoc’s output, see the API reference documentation
published at api.dart.dev and pub.dev
(for example, the
- An opinionated code formatter that follows the recommendations of the Dart style guide. IDEs that support Dart generally allow you to format the code within the IDE. Or you can run the formatter from the command line.
- A package manager that makes it easy for you to install, use, and share Dart libraries, command-line tools, and other assets. Some Dart technologies, such as Flutter, may not support all of the pub commands. IDEs that support Dart generally have special support for pub, but you can also use it from the command line.
Some additional tools are available in packages.
To install these tools, use the
pub command, as described in each tool’s
Here are the general-purpose tools you might want to install:
- A build package that’s used behind-the-scenes by the
- A tool for migrating Dart source code and fixing common issues.
Debugging and diagnostics
- Dart DevTools
- A suite of suite of debugging and performance tools.
Tools for developing web apps
The following tools support developing web apps:
- A command-line interface (CLI) for Dart web app development, including building and serving web apps.
Tools for developing command-line apps and servers
The following tools support developing or running command-line apps and servers:
- The standalone Dart VM, which you can use to execute 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
- An ahead-of-time (AOT) compiler that compiles Dart code to native x64 machine code. The output is either a standalone executable (the default) or an AOT snapshot.
- A Dart runtime that you can use to run AOT snapshots.