Getting setup with Flutter

In order to begin creating mobile apps using Flutter, we need to get setup on our development system.

Download the Flutter SDK

You can get started by downloading the Flutter SDK from this site.

If you’re running a mac, this is simply a case of cloning the repo for Flutter:

$ git clone -b alpha

And then adding the Flutter tool to your path:

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

To check that everything required has installed successfully we can run the following command:

$ flutter doctor

Updating Flutter

If you already have the Flutter SDK and want to update it, you can do so by running the following command:

$ flutter upgrade

Running this from the root of your application will update both Flutter and the packages in use.

Download IntelliJ IDEA

Next, you’ll need to download the IDE to create Flutter apps, you can do this by downloading IntelliJ Idea here.

You’ll also need to add the Flutter plugin to the IDE. You can do this by opening the Preferences pane, selecting Plugins and then searching for flutter. At this point, you will have the option to select “Install” to install the plugin.

Enjoy the other snippets in this publication! Leave a comment below or tweet me if with any questions / suggestions!

Leave a Reply

Your email address will not be published. Required fields are marked *