Installing Flutter on Linux

Method 1: Using snapd

Step 2: Enter the following command in Terminal to install Flutter

sudo snap install flutter --classic

Method 2: Using installation bundle

Step 1: Get the link of the latest stable release of flutter package from here

Step 2: Replace the download link with the latest one and enter the following command in terminal

curl https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_2.5.3-stable.tar.xz > flutter.tar.xz

Step 3: Extract the downloaded package using the following command.

tar xf ~/flutter.tar.xz

Step 4: Add the flutter bin folder path to environment path by entering it in terminal.

export PATH="$PATH:`pwd`/flutter/bin"

Method 3: Using git 

Step 2: Enter the following command to clone the latest stable release from Flutter Repo using Git

git clone https://github.com/flutter/flutter.git -b stable

Step 3: Add the flutter bin folder path to the environment path by entering it in terminal.

export PATH="$PATH:`pwd`/flutter/bin"

How to Install Flutter on Linux?

In this article, we will learn how to install Flutter in Linux

Flutter is an open-source UI software development kit created by Google. It is used to develop cross-platform applications for Android, iOS, Linux, Mac, Windows, Google Fuchsia, and the web from a single codebase.

Similar Reads

Installing Flutter on Linux:

Method 1: Using snapd...

Verification:

Run the following command in terminal to check if flutter is successfully installed...

Contact Us