Skip to content

Latest commit

 

History

History
54 lines (35 loc) · 954 Bytes

README.md

File metadata and controls

54 lines (35 loc) · 954 Bytes

Dart for Homebrew

This is the official Dart tap for homebrew.

Mac users can use these formulae to easily install and update Dart SDK. Both dev and stable channels are supported.

Initial setup

If you don't have homebrew, install it from their homepage.

Then, add this tap:

brew tap dart-lang/dart

Installing

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).

Dev Releases

To install dev channel releases, instead of the stable ones, add a --devel flag after the brew commands:

brew install dart --devel

Old Releases

You could install 2.0.0 version instead of last stable release via

brew install dart@2.0.0

Updating

Simply run:

brew update
brew upgrade dart