Dart Installation #

There are three major OS and I am pretty sure you also use one of them.

Windows #

Use Chocolatey to install a stable release of the Dart SDK:

Chocolatey is the Package Manager for Windows and it will help you in installing via Command Prompt/ Powershell.

$ choco install dart-sdk

Linux #

You can use Aptitude to install the Dart SDK on Linux.

  1. Perform the following one-time setup:
$  sudo apt-get update
$  sudo apt-get install apt-transport-https
$  sudo sh -c 'curl | apt-key add -'
$  sudo sh -c 'curl > /etc/apt/sources.list.d/dart_stable.list'
  1. Install the Dart SDK
$  sudo apt-get update
$  sudo apt-get install dart

macOS #

With Homebrew, installing Dart is easy.

Installing on macOS is earliest among all these three OS. You just have to run two commands and you are ready to get started with Dart.

$  brew tap dart-lang/dart
$  brew install dart