C:\> choco install dart-sdk
Install using apt-get, perform the following one-time setup:
$ sudo apt-get update
$ sudo apt-get install apt-transport-https
$ sudo sh -c 'wget -qO- https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -'
$ sudo sh -c 'wget -qO- https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list'
Then install the Dart SDK:
$ sudo apt-get update
$ sudo apt-get install dart
$ brew tap dart-lang/dart
$ brew install dart
- Clone this repository
git clone git@github.com:kakadigi/belajar-dart.git
- Look into it
cd belajar-dart
- Try it! you can choose a file to run, eg:
dart hello-world.dart
- Should be able to display
Hello world
- Good luck