Thursday, October 9, 2014

Dart launches support for Homebrew

Developers can now easily install and update Dart SDK and Dartium on Macs with Homebrew, a popular package manager for Mac OS X. Both the stable SDK and (for the more adventurous) the dev channel SDK are available via Homebrew.

It's easy to get started. After you install Homebrew, run these commands to install the stable channel Dart SDK and Dartium:

  brew tap dart-lang/dart
  brew install dart
  brew install dartium # if you build Dart client apps

When there is a new build of the SDK or Dartium, run these commands to stay up to date:

  brew update
  brew upgrade dart
  brew upgrade dartium

Use Homebrew if you build server-side Dart apps, or you are not using Dart Editor (for example, if you use WebStorm or Sublime). To download Dart Editor, you can continue to use the download page.

We hope our support for Homebrew makes it easy for our Mac developers to stay on the latest versions of the Dart SDK. Thanks to the Homebrew developers for answering our questions along the way. We look forward to your feedback.