fbpx
flutter on mac

How to setup Flutter for Application development on Mac?

Here I explain how to install Flutter in android studio in the Mac system.
This might be helpful for those Flutter developers who are new to Mac and chose Android studio as IDE.


Flutter Requirements – 

Memory

At least have around 10 GB free on your laptop, or more so you will have a smooth experience in setting up and developing.

OS

You should be running at least Mac OS 10 (Mojave) if you want an iOS app to be tested on a physical device running in the latest version of iOS.

It also works with a lower version of Mac OS(High Sierra).


Let’s Get Started

Go to websitehttps://flutter.dev/

You will now be on a page that looks something like this.👇

flutter install mac

Choose macOS and start downloading Flutter SDK by clicking here.👇

flutter mac

When downloaded, you will be able to find the file in your download folder.

install flutter on mac

Extract this ZIP file and you will get a folder with the name “Flutter”.

It’s important to move this folder out of the download folder into somewhere permanent. The ideal place to put it under your username may be in a User folder.

So I created a folder and named “Developer” under the user folder.

I moved the folder from the download folder to a new folder.

install flutter mac

Okay, that’s done!

Now note down the path of the Flutter folder. In my case, it is /Users/fegnotechnologies/Developer/Flutter

Now Let’s Move To Terminal

Press Command and Spacebar.

Type “terminal“ in the spotlight search.

download flutter for mac

And press return.

A terminal will be open up.

Create Or Open Rc File
sdk

You have to edit $HOME/.bash_profile or $HOME/.bashrc if you are not using macOS Catalina.

If your OS version is macOS Catalina, then you have to edit $HOME/.zshrc or else.

How Do We Edit??

Use vim command to open the file.

So in the terminal that we opened,

If you are not using macOS Catalina, enter

Image for post

OR

Image for post

If you are using macOS Catalina

Image for post

Now we have the rc file opened up press “i” to edit it.

Enter this 👇 in it

export PATH=”$PATH:[PATH_TO_FLUTTER_GIT_DIRECTORY]/flutter/bin”

In my case, it will be like this 👇

export PATH=”$PATH:/Users/fegnotechnologies/Developer/flutter/bin”

Now press “esc” key then enter “:wq!” And press return this will save the file (Crazy vim editor)

It’s Done ???

Let’s check …

Just close the terminal and open it again.

Enter the command “flutter — version”

Let’s check …

Just close the terminal and open it again.

Enter the command “flutter — version”

how to install flutter on mac

Yes it’s done

Please support…..

New to blogging. Wish to contribute more…

Open to suggestions

Now
clapping gif for flutter for mac
We Provide Best Services. Need Help?

Send Us Message

Just send us your questions or concerns by starting a new case and we will give you the help you need.

    contact

    Call Us

    +91 884-850-6600

    Email Us

    hello@fegno.com

    Our Location

    1st Floor, Geo Infopark, Kinfra Park Infopark PO, Kochi 682042

      Get a Free Quote





      Book a 30 mins

      Free Consultation

      Call With Us!