| OLD | NEW |
| 1 --- | 1 --- |
| 2 layout: default | 2 layout: default |
| 3 title: "Download Dart" | 3 title: "Download Dart" |
| 4 description: "The download bundles that support the Dart language." | 4 description: "The download bundles that support the Dart language." |
| 5 has-permalinks: false | 5 has-permalinks: false |
| 6 js: | 6 js: |
| 7 - url: /js/download-info.js | 7 - url: /js/download-info.js |
| 8 defer: true | 8 defer: true |
| 9 --- | 9 --- |
| 10 {% comment %} |
| 11 TODO: Figure out how to use a-b testing with this. |
| 12 E.g. blue note before or after brew commands. |
| 13 {% endcomment %} |
| 10 | 14 |
| 11 # Getting and Installing Dart Is Easy! | |
| 12 | 15 |
| 13 {% include default_toc.html %} | 16 # Getting Dart Is Easy! |
| 14 | 17 |
| 15 <p class="os-choices"> | 18 <div class="btn-group hero-hldr btn-group-justified os-choices" style="display:
table;"> |
| 16 Confirm your platform: | 19 <div class="btn-group"> |
| 17 {% include os-choices.html %} | 20 <button type="button" class="btn btn-default btn-lg" id="windows">Windows (V
ista, 7, 8)</button> |
| 18 </p> | 21 </div> |
| 22 <div class="btn-group"> |
| 23 <button type="button" class="btn btn-default btn-lg" id="linux">Linux</butto
n> |
| 24 </div> |
| 25 <div class="btn-group"> |
| 26 <button type="button" class="btn btn-default btn-lg" id="macos">Mac OS X</bu
tton> |
| 27 </div> |
| 28 </div> |
| 19 | 29 |
| 20 You have two options for downloading Dart. | 30 {% for platform in site.custom.downloads.binaries %} |
| 31 {% capture partial %}downloads/_{{platform.os}}_section.html{% endcapture %} |
| 32 <div class="{{platform.os}}" markdown="1"> |
| 33 {% include {{partial}} %} |
| 34 </div> |
| 35 {% endfor %} |
| 21 | 36 |
| 22 ## Option 1: Choose the complete bundle {#whole_enchilada} | 37 <aside class="alert-info alert" markdown="1"> |
| 23 | 38 **Want another Dart version?** |
| 24 When you download the Dart Editor bundle, you get everything you | 39 Use the [download archive.](/tools/download-archive) |
| 25 need to create, edit, test, and build both web-based and server-side | 40 It lets you choose specific versions |
| 26 applications. | 41 of the Dart downloads. |
| 27 | 42 It also has the latest **dev channel** builds, |
| 28 The Dart Editor bundle includes: | 43 which let you try new features a few weeks earlier than the stable channel. |
| 29 | |
| 30 * Dart Editor - A powerful tool for editing, debugging, and running Dart | |
| 31 applications. | |
| 32 * Dartium - A special version of Chromium that includes the Dart VM. | |
| 33 You can use Dartium to test and debug your Dart web applications. | |
| 34 * SDK - A software development kit that includes the Dart Virtual Machine, | |
| 35 the Dart libraries, and all the command-line tools used behind the | |
| 36 scenes by Dart Editor. The command-line tools include: | |
| 37 | |
| 38 * [dart](/tools/dart-vm/) - The standalone VM | |
| 39 * [dart2js](/tools/dart2js/) - The Dart-to-JavaScript compiler | |
| 40 * [dartanalyzer](/tools/analyzer) - The static analyzer | |
| 41 * [pub](/tools/pub/) - The Dart package manager | |
| 42 * [docgen](docgen/) - The API documentation generator | |
| 43 | |
| 44 {% include downloads/_dart-editor.html buttonclass="btn-primary" %} | |
| 45 | |
| 46 <aside class="alert alert-info" markdown="1"> | |
| 47 **Note:** Dart Editor requires Java version 6 or higher. | |
| 48 Problems? See [Troubleshooting Dart Editor](editor/troubleshoot.html). | |
| 49 </aside> | 44 </aside> |
| 50 | 45 |
| 51 Dart Editor can automatically update itself, along with the SDK and | 46 <div class="windows" markdown="1"> |
| 52 Dartium, whenever a new integration build is available. To enable | 47 ## Other editor solutions |
| 53 automatic updates, go to **Preferences**, choose **Update**, and select | |
| 54 **Download updates automatically**. | |
| 55 | 48 |
| 56 <aside class="alert alert-info macos" markdown="1"> | 49 Dart Editor isn't your only choice. |
| 57 **Note:** If you need a bigger heap or access to much more memory, download the | 50 The following plugins add Dart smarts to popular code editors. |
| 58 [64-bit Dart + Editor]({{ site.custom.downloads.dartarchive-stable-url-prefix }}
/latest/editor/darteditor-macos-x64.zip) | |
| 59 for Mac. | |
| 60 </aside> | |
| 61 | 51 |
| 62 <aside class="alert alert-info" markdown="1"> | 52 {% include downloads/_other_editors.markdown %} |
| 63 **Early adopter?** | 53 </div> |
| 64 | 54 |
| 65 <span class="windows downloads"> | 55 <div class="linux" markdown="1"> |
| 66 To get new features a few weeks earlier than the stable release, | 56 ## Step 2: Pick an editor {#step-2-pick-an-editor-linux} |
| 67 you can download the latest <strong>dev channel</strong> build of | |
| 68 <a data-tool="editor" class="download-link" data-bits="64" data-os="windows" da
ta-build="continuous" href="https://storage.googleapis.com/dart-archive/channels
/dev/release/latest/editor/darteditor-windows-x64.zip">Dart Editor for | |
| 69 Windows 64-bit</a> or | |
| 70 <a data-tool="editor" class="download-link" data-bits="32" data-os="windows" da
ta-build="continuous" href="https://storage.googleapis.com/dart-archive/channels
/dev/release/latest/editor/darteditor-windows-ia32.zip">Dart Editor for | |
| 71 Windows 32-bit</a>. | |
| 72 </span> | |
| 73 | 57 |
| 74 <span class="linux downloads"> | 58 {% include downloads/_pick_an_editor.markdown %} |
| 75 To get new features a few weeks earlier than the stable release, | 59 </div> |
| 76 you can download the latest <strong>dev channel</strong> build of | |
| 77 <a data-tool="editor" class="download-link" data-bits="64" data-os="linux" data
-build="continuous" href="https://storage.googleapis.com/dart-archive/channels/d
ev/release/latest/editor/darteditor-linux-x64.zip">Dart Editor for | |
| 78 Linux 64-bit</a> or | |
| 79 <a data-tool="editor" class="download-link" data-bits="32" data-os="linux" data
-build="continuous" href="https://storage.googleapis.com/dart-archive/channels/d
ev/release/latest/editor/darteditor-linux-ia32.zip">Dart Editor for | |
| 80 Linux 32-bit</a>. | |
| 81 </span> | |
| 82 | 60 |
| 83 <span class="macos downloads"> | 61 <div class="macos" markdown="1"> |
| 84 To get new features a few weeks earlier than the stable release, | 62 ## Step 2: Pick an editor {#step-2-pick-an-editor-mac} |
| 85 you can download the latest <strong>dev channel</strong> build of | |
| 86 <a data-tool="editor" class="download-link" data-bits="64" data-os="macos" data
-build="continuous" href="https://storage.googleapis.com/dart-archive/channels/d
ev/release/latest/editor/darteditor-macos-x64.zip">Dart Editor for | |
| 87 Mac OS X</a>. | |
| 88 </span> | |
| 89 | 63 |
| 90 The latest dev channel release is <span class="dev-channel"></span>. | 64 {% include downloads/_pick_an_editor.markdown %} |
| 91 </aside> | 65 </div> |
| 92 | |
| 93 Once the download is complete, unzip the bundle. Dart is installed! | |
| 94 | |
| 95 You can now work through the [Avast, Ye Pirates](/codelabs/darrrt/) code lab. | |
| 96 | |
| 97 ------ | |
| 98 | |
| 99 ## Option 2: Choose only the software that you need {#a_la_carte} | |
| 100 Perhaps you prefer to use a particular IDE or editor, and don't | |
| 101 require Dart Editor. | |
| 102 | |
| 103 No problem! | |
| 104 | |
| 105 At the very minimum, you need to download the Dart SDK. | |
| 106 This is the only Dart bundle that you need. Besides the Dart VM | |
| 107 and the Dart libraries, the SDK bundle contains the command-line Dart tools: | |
| 108 | |
| 109 * [dart](/tools/dart-vm/) - the standalone VM | |
| 110 * [dart2js](/tools/dart2js/) - the Dart-to-JavaScript compiler | |
| 111 * [dartanalyzer](/tools/analyzer) - the static analyzer | |
| 112 * [pub](/tools/pub/) - the Dart package manager | |
| 113 * [docgen](docgen/) - the API documentation generator | |
| 114 | |
| 115 Note that if you choose the à la carte option you have less to download, but | |
| 116 you will occasionally need to perform a manual update when new | |
| 117 versions of Dart are released. | |
| 118 | |
| 119 After downloading the software that you need, you may want to customize your | |
| 120 IDE or text editor by [downloading a plugin](more_downloads.html) that | |
| 121 supports Dart. | |
| 122 | |
| 123 <p class="os-choices"> | |
| 124 {% include downloads/_sdk.html buttonclass="btn btn-primary btn-lg" %} | |
| 125 </p> | |
| 126 | |
| 127 If you are writing web-based apps, you should download Dartium. | |
| 128 Dartium is a special build of Chromium that includes a Dart VM | |
| 129 so that you can test and debug your applications without first | |
| 130 compiling them to JavaScript. | |
| 131 | |
| 132 {% include downloads/_dartium.html buttonclass="btn btn-primary btn-lg" %} | |
| 133 | |
| 134 The Dartium binary expires after 12 weeks. | |
| 135 When that happens, you will need to download a new copy | |
| 136 to continue using Dartium. | |
| 137 | |
| 138 <aside class="alert alert-info macos" markdown="1"> | |
| 139 **Note:** If you need a bigger heap or access to much more memory, download the | |
| 140 [64-bit Dart SDK]({{ site.custom.downloads.dartarchive-stable-url-prefix }}/late
st/sdk/dartsdk-macos-x64-release.zip) | |
| 141 for Mac. | |
| 142 </aside> | |
| 143 | |
| 144 <aside class="alert alert-info" markdown="1"> | |
| 145 **Early adopter?** | |
| 146 <span class="windows"> | |
| 147 To get new features a few weeks earlier than the stable release, | |
| 148 you can download the latest **dev channel** build of the | |
| 149 <a href="https://storage.googleapis.com/dart-archive/channels/dev/release/latest
/sdk/dartsdk-windows-x64-release.zip">SDK for Windows 64-bit</a> | |
| 150 or | |
| 151 <a href="https://storage.googleapis.com/dart-archive/channels/dev/release/latest
/sdk/dartsdk-windows-ia32-release.zip">SDK for Windows 32-bit</a>. | |
| 152 | |
| 153 <span class="macos"> | |
| 154 To get new features a few weeks earlier than the stable release, | |
| 155 you can download the latest **dev channel** build of the | |
| 156 <a href="https://storage.googleapis.com/dart-archive/channels/dev/release/latest
/sdk/dartsdk-macos-x64-release.zip">SDK for Mac OS X</a>. | |
| 157 </span> | |
| 158 | |
| 159 <span class="linux"> | |
| 160 To get new features a few weeks earlier than the stable release, | |
| 161 you can download the latest **dev channel** build of the | |
| 162 <a href="https://storage.googleapis.com/dart-archive/channels/dev/release/latest
/sdk/dartsdk-linux-x64-release.zip">SDK for Linux 64-bit</a> | |
| 163 or | |
| 164 <a href="https://storage.googleapis.com/dart-archive/channels/dev/release/latest
/sdk/dartsdk-linux-ia32-release.zip">SDK for Linux 32-bit</a>. | |
| 165 </span> | |
| 166 | |
| 167 <span class="windows"> | |
| 168 You can also download the latest **dev channel** build of | |
| 169 <a href="https://storage.googleapis.com/dart-archive/channels/dev/release/latest
/dartium/dartium-windows-ia32-release.zip">Dartium for Windows</a>. | |
| 170 </span> | |
| 171 | |
| 172 <span class="macos"> | |
| 173 You can also download the latest **dev channel** build of | |
| 174 <a href="https://storage.googleapis.com/dart-archive/channels/dev/release/latest
/dartium/dartium-macos-ia32-release.zip">Dartium for Mac OS X</a>. | |
| 175 </span> | |
| 176 | |
| 177 <span class="linux"> | |
| 178 You can also download the latest **dev channel** build of | |
| 179 <a href="https://storage.googleapis.com/dart-archive/channels/dev/release/latest
/dartium/dartium-linux-x64-release.zip">Dartium for Linux 64-bit</a> | |
| 180 or | |
| 181 <a href="https://storage.googleapis.com/dart-archive/channels/dev/release/latest
/dartium/dartium-linux-ia32-release.zip">Dartium for Linux 32-bit</a>. | |
| 182 </span> | |
| 183 | |
| 184 The latest dev channel release is <span class="dev-channel"></span>. | |
| 185 </aside> | |
| 186 | |
| 187 ------ | |
| 188 | |
| 189 ### Linux notes | |
| 190 | |
| 191 If you're using the Debian or Ubuntu platform, you might want to | |
| 192 install the [Dart SDK for Debian and Ubuntu with Apt](debian.html). | |
| 193 | |
| 194 If you compile the SDK and are using an older version of Ubuntu, | |
| 195 you might need to update to GCC 4.6 or later. | |
| 196 See the <a href="faq.html">Tools FAQ</a> for more information. | |
| 197 | |
| 198 ------ | |
| 199 | |
| 200 ### Looking for previous versions? | |
| 201 | |
| 202 Previous versions of the Dart SDK, Dartium, and Dart Editor are available | |
| 203 at the [download archive](/tools/download-archive/). | |
| 204 | |
| 205 ------ | |
| 206 | |
| 207 ## Feedback | |
| 208 We welcome all of your feedback! Submit comments using the | |
| 209 SEND FEEDBACK link in the upper right corner of the Dart Editor window, | |
| 210 or file a bug on [dartbug.com](http://dartbug.com). | |
| OLD | NEW |