dart sdk version code example

Example 1: dart version

command for check flutter & dart version
------------------------------
flutter --version
dart --version

Example 2: dart update

C:\> choco upgrade dart-sdk

Example 3: 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 4: download dart

C:\> choco install dart-sdk

Example 5: dartlang ubuntu

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

Tags:

Misc Example