Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
92 lines (74 sloc) 3.36 KB
title description js
Get the Dart SDK
Get the Dart SDK
url defer
/tools/sdk/archive/assets/install.js
true

The Dart SDK has the libraries and command-line tools that you need to develop Dart web, command-line, and server apps. If you're developing only mobile apps, then you don't need the Dart SDK; just install Flutter.

To learn about other tools you can use for Dart development, see the Dart tools page.

To learn about what's in the SDK, see Dart SDK overview.

**Note:** This site's documentation and examples use {% if site.data.pkg-vers.SDK.channel == 'dev' %} the **dev channel** {% endif -%} version [{{site.data.pkg-vers.SDK.vers}}][site SDK version]{:.no-automatic-external} of the **Dart SDK**.

Install the Dart SDK {#install}

As the following instructions show, you can use a package manager to easily install and update the Dart SDK. Alternatively, you can build the SDK from source or download the SDK as a zip file. {% comment %} NOTE to editors: Keep the zip file link as the last thing in the paragraph, so it's easy to find (but not more tempting than package managers). {% endcomment %}

{% include_relative tools/sdk/archive/_sdk-terms.md %}
  • Windows
  • Linux
  • Mac
{% include_relative tools/sdk/_windows.md %}
{% include_relative tools/sdk/_linux.md %}
{% include_relative tools/sdk/_mac.md %}

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; currently [calculating]{:.editor-build-rev-stable}.
  • dev channel: pre-releases, usually updated 1/week; currently [calculating]{:.editor-build-rev-dev}.
**Warning:** To give you early access to new features and fixes, dev channel releases are not as heavily tested as the stable release.

Stable channel releases of the Dart SDK have version strings like 1.24.3 and 2.1.0. 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 (-). For example, Dart 2 pre-releases have version numbers starting with 2.0.0-dev such as 2.0.0-dev.69.5.

For more information, see the Dart 2 page.

You can’t perform that action at this time.