| OLD | NEW |
| (Empty) | |
| 1 First install Dart, and then choose your editor. |
| 2 (Don't care which editor you use? |
| 3 Skip to [Step 2](#step-2-pick-an-editor-mac) and choose **Dart Editor**, |
| 4 which includes Dart.) |
| 5 |
| 6 |
| 7 ## Step 1: Install Dart |
| 8 |
| 9 We recommend using [Homebrew](http://brew.sh/) to manage your Dart |
| 10 installation. |
| 11 To install Dart, run: |
| 12 |
| 13 {% prettify huge %} |
| 14 $ brew tap dart-lang/dart |
| 15 $ brew install dart dartium |
| 16 {% endprettify %} |
| 17 |
| 18 The **dart** package contains the [Dart SDK](/tools/sdk/), |
| 19 which includes the Dart VM, libraries, and command-line Dart tools such as |
| 20 [dart](/tools/dart-vm/), [dart2js](/tools/dart2js/), |
| 21 [dartanalyzer](/docs/dart-up-and-running/contents/ch04-tools-dart_analyzer.html)
, |
| 22 [pub](/tools/pub/), and [docgen](docgen/). |
| 23 |
| 24 The **dartium** package contains a special build of Chromium |
| 25 (nicknamed [Dartium](/tools/dartium/)) that includes a Dart VM. |
| 26 Use it to test and |
| 27 debug Dart web apps without first compiling them to JavaScript. |
| 28 |
| 29 <aside class="alert alert-info" markdown="1"> |
| 30 **Writing server-side code?** |
| 31 If you don't write Dart web apps, |
| 32 you don't need to install `dartium`. |
| 33 </aside> |
| 34 |
| 35 To update the software later, run: |
| 36 |
| 37 {% prettify huge %} |
| 38 $ brew upgrade dart dartium |
| 39 {% endprettify %} |
| 40 |
| 41 |
| 42 ### Manual download |
| 43 |
| 44 An alternative to using Homebrew or Dart Editor |
| 45 is downloading Dart manually. |
| 46 You'll need to perform the following steps |
| 47 periodically to update your software. |
| 48 |
| 49 1. <a |
| 50 data-bits="32" data-os="macos" data-tool="sdk" |
| 51 class="download-link" |
| 52 href="{{ site.custom.downloads.dartarchive-stable-url-prefix }}/latest/sdk/d
artsdk-macos-ia32-release.zip"> |
| 53 Download the Dart SDK.</a> |
| 54 If you need a bigger heap or access to much more memory, download the |
| 55 <a |
| 56 data-bits="64" data-os="macos" data-tool="sdk" |
| 57 class="download-link" |
| 58 href="{{ site.custom.downloads.dartarchive-stable-url-prefix }}/latest/sdk/d
artsdk-macos-x64-release.zip"> |
| 59 64-bit Dart SDK</a>. |
| 60 Unzip the downloaded file to get the SDK. |
| 61 |
| 62 2. Add `<sdk>/bin` to your `PATH`. |
| 63 |
| 64 3. If you're developing a web app, <a |
| 65 data-bits="32" data-os="macos" data-tool="dartium" |
| 66 class="download-link" |
| 67 href="{{ site.custom.downloads.dartarchive-stable-url-prefix }}/latest/darti
um/dartium-macos-ia32-release.zip"> |
| 68 download Dartium</a>. |
| 69 Unzip it to get special version of Chromium with the Dart VM. |
| 70 This binary expires after 12 weeks. When that happens, |
| 71 you need to download a new copy to continue using Dartium. |
| OLD | NEW |