Install Flutter SDK
Steps to Install Flutter SDK
Flutter SDK installation is available for different operating systems including Windows, macOS, Linux, and ChromeOS.
- Click here to select your operating system.
- Check for the system requirements specific to each operating system and make sure that you have all the necessary tools already installed on your system. For instance, for macOS,
git
must be pre-installed while for Windows, you need to havegit for Windows
andWindows Powershell 5.0 or above
installed. -
Download the installation bundle (install the latest version for stable release ) relevant to your Operating System. In the case of macOS, different bundles are available for Intel and Apple Silicon processors.
-
Extract the downloaded installation file to the desired directory on your machine. This creates a flutter folder in the directory.
-
On your Terminal, change the directory to the flutter folder extracted in the previous step.
6. To run the flutter commands, the shell you are working in must be set to the directory where your flutter binary file (.exe) is located. For this, you must first set the path:cd flutter
For example, if our extracted installation is on your Desktop, we can run the following command:export PATH="$PATH:/[path where Flutter is installed]/flutter/bin"
whereexport PATH="$PATH:/Users/username/Desktop/flutter/bin"
export
sets thePATH
on the left to the value of thePATH
specified on the right.To verify if the Path has been correctly set, we run an
echo $PATH
command:echo $PATH
/opt/homebrew/bin:/opt/homebrew/sbin:/opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/3.10/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/Library/Apple/usr/bin:/usr/local/bin:/Users/username/Desktop/flutter/bin
where
Users/username/Desktop/flutter/bin
is the intended path where we had set our path to.
Using Dart with Flutter
Flutter apps are created using a programming language called Dart
. An object-oriented language with similarity to C language, Dart is used for creating mobile and web applications. With Dart, Flutter apps can be developed quickly and deployed to different platforms.
Note: The Dart SDK comes bundled with Flutter, so if you installed Flutter, it is not required to install Dart separately.
Note: For more information on Dart, click here.
Install Flutter Plugin for Text Editors
Generally, developers can create a Flutter-based app using a combination of the CLI (Command Line Interface) and a text editor. The easier way is to install a plugin within the editor. The plugins for editors like Visual Studio Code, Android Studio, Emacs, and IntelliJ are available for installation. To install the plugin for both Flutter and Dart on VS Code:
- Open VS Code.
- Click View menu, and then click Command Palette.
- On the palette, enter Extensions. The system displays a list of options. Select Extensions: Install Extensions.
- In the Search Extension in Markdown box, enter flutter. The system displays the Flutter plugin. Click install.This installs Flutter along with the Dart plugin.
New Polygon ID Documentation Website Available!
We've released a new version of our documention. Head to devs.polygonid.com to check it out.