Skip to content
Related Articles
Get the best out of our app
GFG App
Open App
geeksforgeeks
Browser
Continue

Related Articles

Dart SDK Installation

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

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
Last Updated : 11 Jun, 2020
Like Article
Save Article
Similar Reads