How to Install Dart SDK in Intellij?
Last Updated :
16 Feb, 2022
Dart is an open-source, client-side programming language used to build web and mobile apps. It is developed by Google. It is an object-oriented programming language. Or we can say that it is a class-based and garbage-collected language with C-style syntax. It is used to create applications for different platforms like mobile, desktop, server, and web. To create an application in Dart we need a Dart SDK. Dart SDK is a collection of libraries and command-line tools that you need to develop Dart web, command-line, and server apps. It can work with different types of operating systems like Windows, Linux, macOS, etc.
In this article, we will explain how to set up Dart SDK and use it IntelliJ. IntelliJ is an integrated development environment(IDE). It is written in Java and used for developing computer software. It is the most popular and commonly used IDE. It supports different types of programming languages like Java, Kotlin, Scala, etc, and also supports features like debugging, code inspections, unit testing, TestNG, etc.
Installing dart sdk in Intellij
To install the dart SDK in IntelliJ(on Windows) we follow the following steps:
Download and Install Dart SDK
First of all, we install Dart SDK using the following steps:
Step 1: Navigate to the official website to get the Dart-SDK package.
Step 2: Select Windows and architecture according to your system and select the latest version i.e. (2.16.0) and a zip file will start downloading automatically.

Step 3: After downloading, extract with Winrar or 7zip or any extracting software. Inside the folder, there will be another folder named Dart-SDK.
Step 4: Now copy the Dart-SDK folder and paste it in your computer's C Drive's Programs File (E.g.C:\Program Files) or any location of your choice.
Step 5: Go inside the Dart-SDK folder, inside there is a bin folder open it and copy the path.

Edit Environment Variables Path
Now we edit the environment variable path using the following steps:
Step 1: Open the windows search option and search edit system environment variables and open it.
Step 2: A pop-up will open and then click environment variables and then under User variables, double click on the path and select new and paste the above mentioned copied path and click ok and come back to the home screen. (This will let your system know where the Dart-SDK files are present).

Installing Dart SDK in intellij
Now we install Dart SDK in IntelliJ using the following steps:
Step 1: Open IntelliJ IDEA. If you still don't have IntelliJ Idea follow this article to download and install IntelliJ Idea.
Step 2: After installing open the IntelliJ Idea and click on Plugins present on the left side and search Dart and click on install.

Step 3: Now start a new project and on the left side select Dart and then specify the path to the location where Dart-sdk is located.(E.g.C:\Program Files\dart-sdk)

Step 4: Give the project a name and select the simple console application option. Now you are good to write programs.
Verifying Dart-SDK version and path
After setting up Dart and IntelliJ Idea let's verify whether it has been correctly installed or not by checking the path and version. For windows open Command Prompt and for Mac/Linux open the terminal and type the following command:
dart --version.
It will show the installed version and path.

Create Hello World Program
Once all configuration has been done, the IDE is all set for developing applications using Dart code. (A simple Hello World code, is already provided).

Similarly, you can install dart-sdk in Intellij for the Mac and Linux systems.
Similar Reads
Non-linear Components
In electrical circuits, Non-linear Components are electronic devices that need an external power source to operate actively. Non-Linear Components are those that are changed with respect to the voltage and current. Elements that do not follow ohm's law are called Non-linear Components. Non-linear Co
11 min read
Steady State Response
In this article, we are going to discuss the steady-state response. We will see what is steady state response in Time domain analysis. We will then discuss some of the standard test signals used in finding the response of a response. We also discuss the first-order response for different signals. We
9 min read
Class Diagram | Unified Modeling Language (UML)
A UML class diagram is a visual tool that represents the structure of a system by showing its classes, attributes, methods, and the relationships between them. It helps everyone involved in a projectâlike developers and designersâunderstand how the system is organized and how its components interact
12 min read
Spring Boot Tutorial
Spring Boot is a Java framework that makes it easier to create and run Java applications. It simplifies the configuration and setup process, allowing developers to focus more on writing code for their applications. This Spring Boot Tutorial is a comprehensive guide that covers both basic and advance
10 min read
Backpropagation in Neural Network
Back Propagation is also known as "Backward Propagation of Errors" is a method used to train neural network . Its goal is to reduce the difference between the modelâs predicted output and the actual output by adjusting the weights and biases in the network.It works iteratively to adjust weights and
9 min read
Polymorphism in Java
Polymorphism in Java is one of the core concepts in object-oriented programming (OOP) that allows objects to behave differently based on their specific class type. The word polymorphism means having many forms, and it comes from the Greek words poly (many) and morph (forms), this means one entity ca
7 min read
AVL Tree Data Structure
An AVL tree defined as a self-balancing Binary Search Tree (BST) where the difference between heights of left and right subtrees for any node cannot be more than one. The absolute difference between the heights of the left subtree and the right subtree for any node is known as the balance factor of
4 min read
What is Vacuum Circuit Breaker?
A vacuum circuit breaker is a type of breaker that utilizes a vacuum as the medium to extinguish electrical arcs. Within this circuit breaker, there is a vacuum interrupter that houses the stationary and mobile contacts in a permanently sealed enclosure. When the contacts are separated in a high vac
13 min read
3-Phase Inverter
An inverter is a fundamental electrical device designed primarily for the conversion of direct current into alternating current . This versatile device , also known as a variable frequency drive , plays a vital role in a wide range of applications , including variable frequency drives and high power
13 min read
What is a Neural Network?
Neural networks are machine learning models that mimic the complex functions of the human brain. These models consist of interconnected nodes or neurons that process data, learn patterns, and enable tasks such as pattern recognition and decision-making.In this article, we will explore the fundamenta
14 min read