Dart SDK Installation

In order to do a lot of interesting programming stuff using 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

DART Archive Page

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:

Content Folder

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

 open bin folder and type

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

Command Prompt

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:

Environment Variables for SDK Installation in Dart

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

Step 5: Run Dart Using cmd

cmd

My Personal Notes arrow_drop_up

Exploring the Coding World

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.


Article Tags :

4


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.