Dart SDK
Tools and libraries for Dart development
The Dart SDK is available for
,
, or
.
It has the libraries and command-line tools
that you need to develop Dart applications.
To learn about other tools you can use for Dart development,
see Tools for Dart.
Getting the SDK
If you have an up-to-date version of
Dart Editor,
you already have the SDK.
It's in the dart-sdk subdirectory
of the Dart installation directory.
If you don't want Dart Editor,
you can download just the SDK:
Or live dangerously: download the
latest, untested build of the
Windows 64-bit SDK
or the
Windows 32-bit SDK.
latest, untested build of the
Mac 64-bit SDK
or the
Mac 32-bit SDK.
latest, untested build of the
Linux 64-bit SDK
or the
Linux 32-bit SDK.
What's in the SDK
The SDK directory includes a lib directory for the
Dart libraries
and a bin directory that has these command-line tools:
dart
The standalone VM
dart2js
The Dart-to-JavaScript compiler
pub
The Dart package manager
For more information about the SDK, see its
README file.
Installing the SDK
Unzip the SDK download file.
You probably also should set a couple of environment variables,
so that using the tools is as easy as possible.
Setting environment variables
Some scripts depend on
having the DART_SDK environment variable set.
Also, you'll probably want to put the
SDK bin directory in your path.
How you set the DART_SDK and PATH environment variables
depends on your platform.
Here's an example for the Bash shell on Mac or Linux:
DART_SDK=/path/to/dart-sdk
PATH=$PATH:$DART_SDK/bin
Filing bugs and feature requests
To see existing issues or create a new one,
go to dartbug.com.
Here are some handy searches: