download dart for ubuntu code example
Example 1: dart update
C:\> choco upgrade dart-sdk
Example 2: dartlang ubuntu
$ sudo apt-get update
$ sudo apt-get install dart
C:\> choco upgrade dart-sdk
$ sudo apt-get update
$ sudo apt-get install dart