DEV Community

Pradeep Kumar
Pradeep Kumar

Posted on • Edited on

4 1

MacOS M1 or M2 - Flutter Setup

All the following actions should be performed from administrator account

Login to admin user in terminal

su <admin-username>
Enter fullscreen mode Exit fullscreen mode

Refer to following video tutorials:

Step 1: Create new Volume for Projects:

https://www.youtube.com/watch?v=99Ea8ZkWzXs

Step 2: How to Install Flutter on macOS 2022

https://www.youtube.com/watch?v=YVaFoCiQ2SI

  • Install Xcode
  • Install Android Studio
  • Install Flutter
echo $SHELL
Enter fullscreen mode Exit fullscreen mode

if it is /bin/zsh, then continue with following steps:

touch .zshrc
Enter fullscreen mode Exit fullscreen mode

then visit home using finder, enable hidden files using cmd + shift + . and double click on .zshrc file.

Then add following file:

export PATH="$PATH:<flutter-folder-path>/flutter/bin"
Enter fullscreen mode Exit fullscreen mode

Then open terminal and run

source $HOME/.zshrc
Enter fullscreen mode Exit fullscreen mode

[INCOMPLETE, CHECK THE VIDEO]

  • Install Brew and
  • Run sudo gem install activesupport -v 6.1.7.3
  • Run sudo gem install cocoapods
  • Close the terminal
  • Run flutter doctor

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay