Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to update the Flutter SDK?

Tags:

flutter

I'm new in Flutter. 2 months ago I have installed flutter SDK in windows. Now I have seen a lot of updates available.

I want to update "Flutter SDK".

How to update Flutter SDK to the latest version?

like image 902
Khurshid Ansari Avatar asked Sep 02 '18 08:09

Khurshid Ansari


People also ask

How do you update flutter SDK in flutter?

Using Command: Just run the flutter upgrade in terminal. Show activity on this post. Or open terminal and type command: flutter upgrade and hit Enter.


2 Answers

You can write

flutter upgrade  

command in terminal to update flutter sdk

like image 99
Viren V Varasadiya Avatar answered Sep 22 '22 01:09

Viren V Varasadiya


I want to upgrade most latest version. So I used below commands:

flutter channel dev

Flutter has 4 project branches / channels ie stable, master, dev, beta. First when we install it. flutter install stable channel.

If you want to switch :

flutter channel chanel_name

Then update that :

flutter upgrade
like image 31
Khurshid Ansari Avatar answered Sep 25 '22 01:09

Khurshid Ansari