Dart Installation

Install the Dart SDK on Windows

Follow the below instructions to install Dark SDK in Windows.

Step -1: Go to the browser and type the following link to download the SDK.

http://www.gekorm.com/dart-windows/

It will open the given page. Click on the  link to download:-

Step - 2: Run the Dart installer(It is the .exe file that we downloaded in the previous step) and click on the Next button

Step - 3: It provides the option to select the Dart installation path. After the path is selected, click on the Next button and Finish.

Step - 4: After the download is completed, set the PATH environment variable to "C:\Program Files\Dart\dart-sdk\bin" in advance system properties.

Step - 5: Now open the terminal and verify the Dart installation by typing dart.

 

Another method:-

Dart programming language, we have to install the Dart SDK. Dart SDK is a pre-compiled version so we have to download and extract it only. For this follow the below-given instructions:

Step 1: Download Dart SDK. Download Dart SDK from the Dart SDK archive page. The URL is: https://dart.dev/tools/sdk/archive

Click on DART SDK to download SDK for Windows 64-Bit Architecture. The download will start and a zip file will be downloaded.

Note: To download SDK for any other OS select OS of your choice.

 

Step 2: Extract the downloaded zip file. Extract the contents of downloaded zip file and after extracting contents of zip file will be as shown:

 

Step 3: Running Dart. Now open bin folder and type “cmd” as given below:

Command Prompt will open with our desired path of bin folder and now type “dart”.

And now we are ready to use dart through bin folder but setting up the path in environment variables will ease our task of Step3 and we can run dart from anywhere in the file system using command prompt.

Step 4: Setting up path in environment variables. Open Environment Variables from advanced system settings and add Path in System Variables as depicted in image:

Now we are done to use Dart from anywhere in the file system.

Step 5: Run Dart Using cmd