DEV Community

Pradeep Kumar
Pradeep Kumar

Posted on • Edited on

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

Top comments (0)