How to install Flutter on a Mac

a guide to install software

I’m excited to explore the world of mobile development and use Flutter for the first time πŸ“±.

I had a few problems (as usual) getting Flutter installed on my MacBook πŸ™„. It was long overdue, so I reset my MacBook and used the package manager to set up the technical environment from scratch.

And I’m happy I did. At last, everything is operating as smoothly as butter 😈.

Environment

DeviceChipOperation SystemCommandLine Tool
MacApple M1 ,M2 ,M3macOS Sonoma 14.1.2HomeBrew

Installation process

After installing Flutter, by running the command

brew install --cask flutter

everything worked smoothly. I then run

flutter doctor

which provided instruction on how to move further.

Console output showing instructions on how to install flutter

Here are the Some commands i run:

sudo softwareupdate --install-rosetta --agree-to-license
brew install --cask android-studio
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch
brew install cocoapods
xcodebuild -downloadPlatform iOS
path/to/sdkmanager --install "cmdline-tools;latest"
flutter doctor --android-licenses
flutter config --android-sdk

Now, when running flutter doctor again, everything is setup.

Successful installation of Flutter.

Thanks for your reading and time. I really appreciate it.

3 Comments

  1. Hello there! This post could not be written any better! Reading this post reminds me of my good old room mate! He always kept talking about this. I will forward this write-up to him. Pretty sure he will have a good read. Thank you for sharing!

  2. Generally I don’t read post on blogs, but I wish to say that this write-up very forced me to try and do it! Your writing style has been amazed me. Thanks, very nice post.

  3. I was reading some of your posts on this website and I think this web site is very instructive! Retain putting up.

Leave a Reply

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