Dart for Homebrew
Mac users can use these formulae to easily install and update Dart SDK and Dartium. Both dev and stable channels are supported.
If you don't have homebrew, install it from their homepage.
Then, add this tap:
brew tap dart-lang/dart
To install the Dart SDK:
brew install dart
Tip: Once installed, homebrew will print the path to the Dart SDK. Use this path to configure Dart support in your IDE (like WebStorm).
For web developers, we highly recommend Dartium and content shell:
brew install dart --with-dartium --with-content-shell
To install Dartium to your Applications:
ditto /usr/local/opt/dart/Chromium.app/ /Applications/Dartium.app/
To install dev channel releases, instead of the stable ones, add a
flag after the brew commands:
brew install dart --devel
brew update brew upgrade dart