The Dart SDK has the libraries and command-line tools that you need to develop Dart apps. To learn about other tools you can use for Dart development, see Dart Tools.
Install the SDK
A package manager can help you easily install and update the Dart SDK.
Don’t want to use a package manager? Other options are
building the SDK from source and
downloading the SDK as a zip file.
If you use either of these options, remember to
add the SDK’s
bin directory to your
Choose one of these options:
Install using Chocolatey
To use Chocolatey to install a stable release of the Dart SDK, run this command:
C:\> choco install dart-sdk
To install a dev release, run this command:
C:\> choco install dart-sdk --pre
To upgrade the Dart SDK, run this command
--pre to upgrade the dev release):
C:\> choco upgrade dart-sdk
Install using a setup wizard
Alternatively, use the community-supported Dart SDK installer for Windows. You can use the wizard to install stable or dev versions of the Dart SDK.
If you’re using Debian/Ubuntu on AMD64 (64-bit Intel), you can choose one of the following options, both of which can update the SDK automatically when new versions are released.
Install using apt-get
Perform the following one-time setup:
$ sudo apt-get update $ sudo apt-get install apt-transport-https $ sudo sh -c 'curl https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -' $ sudo sh -c 'curl https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list'
Then install the Dart SDK:
$ sudo apt-get update $ sudo apt-get install dart
To setup for a dev channel release, run the one-time setup commands followed by:
$ sudo sh -c 'curl https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_unstable.list > /etc/apt/sources.list.d/dart_unstable.list' $ sudo apt-get update $ sudo apt-get install dart
Install a Debian package
Alternatively, download Dart SDK as Debian package in the
.deb package format.
Install homebrew, and then run:
$ brew tap dart-lang/dart $ brew install dart
To install a dev channel release use
$ brew install dart --devel
To upgrade when a new release of Dart is available run:
$ brew upgrade dart
What’s in the SDK
The Dart SDK includes a
lib directory for the Dart libraries and a
directory that has these command-line tools:
For more information about the SDK, see its README file.
About release channels and version strings
The Dart SDK has two release channels:
stable channel: stable releases,
updated no more frequently than every 6 weeks;
dev channel: pre-releases, usually updated 1/week;
Most alpha releases of Flutter contain a dev channel release of Dart.
Stable channel releases of the Dart SDK have version strings like
They consist of dot-separated integers, with no hyphens or letters.
Dev channel releases of the Dart SDK (pre-releases)
have additional characters, starting with a hyphen (
Dart 2 pre-releases have version numbers starting with
For more information, see Dart 2 Updates.
Filing bugs and feature requests
To see existing issues or create a new one, go to dartbug.com. Here are some handy searches: