Skip to content

Week 0: Installing Flutter on your local system

Divyansh Kulshreshtha edited this page Mar 6, 2022 · 4 revisions

We are now ready to install Flutter on your system. Flutter is available to install on all platforms, Windows, Mac, Linux and ChromeOS

Installing Flutter

The Google team have perfectly documented the process to install flutter click here and follow the guidelines to install Flutter, according to your current operating system. Make sure to install everything till the end, even android Studio. If you have any doubts or are getting an error, contact your mentor for further instructions.

Android Studio vs VSCode

Android Studio is an IDE while provides you tools to efficiently develop android apps.VSCode is a code editor which provides plugins that you can use to make it work like an IDE. You must have installed Android Studio in the first step. Although we suggest you to try out both of these tools and see what works you, we definitely recommend installing and using VSCode just because it's not that resource-intensive and has much fast load times.

Follow the tutorial below to install VS Code:

Flutter Doctor

Flutter Doctor is a tool to verify perfect installation of flutter on your system. Running flutter doctor should ideally return a output like this.

image

If your output is throwing some errors, try googling those errors first, if still not resolved, contact any of your mentors to help you out!

If your output almost matches the above output, congratulations! You have successfully installed flutter on your machine. We can then process to making our Flutter application.

Creating your first flutter app 🚀

To create your first flutter app, open terminal in your desired folder and run

flutter create my_first_app

image

The output should look like this, now open this folder in VS Code and voila! You have just created your very first flutter app. Now, in the net module we will get into running this app on an emulator or your real android device.