dart install code example

Example 1: dart update

C:\> choco upgrade dart-sdk

Example 2: dartlang ubuntu

$ 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'

Example 3: download dart

C:\> choco install dart-sdk

Example 4: dartlang ubuntu

$ sudo apt-get update
$ sudo apt-get install dart

Tags:

Dart Example