Join egghead, unlock knowledge.

Want more egghead?

This lesson is for members. Join us? Get access to all 3,000+ tutorials + a community with expert developers around the world.

Unlock This Lesson

Already subscribed? Sign In

Autoplay

    Install the Flutter SDK & Create Your First Project

    nader dabitnader dabit
    flutterFlutter

    In this lesson, we’ll learn how to download & install the Flutter CLI from the Flutter website. We’ll then use the Flutter CLI create our first Flutter project.

    Code

    Code

    Become a Member to view code

    You must be a Member to view code

    Access all courses and lessons, track your progress, gain confidence and expertise.

    Become a Member
    and unlock code for this lesson
    Transcript

    Transcript

    Instructor: 00:00 The first thing we'll do is we'll visit the Flutter documentation at Flutter.io. Here we'll find the Get Started button and click it to look at the installation instructions. On the installation page, we'll be asked to choose the operating system which we'll be working with. For me, that's Mac OS.

    00:20 Next, we'll go ahead and download the latest version of the Flutter SDK. Once the SDK has been downloaded, go ahead into your command line and change into the directory where you'd like the binary to live.

    00:36 On my machine, I've created a folder called Bin where I store these types of executables. I'll change into this directory and unzip the location of the newly-downloaded SDK.

    00:52 Once the SDK has been downloaded, I'll append a new item to my path using the parent working directory /Flutter/Bin. Next, I'll change out of this directory and run the Flutter command. If the SDK is properly installed, you should now see a list of options when you run the Flutter command.

    01:21 To create a new Flutter project, we can run the Flutter create command followed by the name of our app. Once the application has been created, we should be able to change into the new directory and view the files in the project.

    Discuss

    Discuss