-
Download Dart
-
Copy dart to
/usr/local/dart
unzip darteditor-macos-x64.zip
cp -R path/to/unzipped/dart /usr/local/dart
Edit ~/.bash_profile
or ~/.exports
:
export PATH="/usr/local/dart/dart-sdk/bin":$PATH
Rerun ~/.bash_profile
and Check dart version:
. ~/.bash_profile
dart --version
- Install Package Control
- Open the command palette (CTRL-SHIFT-P or CMD-SHIFT-P), type 'Install' and select 'Package Control: Install Package' from the list. Next, type 'Dart' and select the Dart package from the list.
see updatedart.sh