How to get Flutter SDK path after installing using Homebrew
3,746
Type flutter doctor -v
in Terminal, the first line will show the location!
Author by
Karel Hutajulu
Updated on December 29, 2022Comments
-
Karel Hutajulu over 1 year
Installed flutter using homebrew: https://formulae.brew.sh/cask/flutter#default
I can't find the SDK Path, tried copy and pasting this:
1./opt/homebrew/Caskroom/flutter/2.0.5/flutter/bin/internal/shared.sh, and, /opt/homebrew/bin/flutter'
but the result shows that the folder specified as the FLUTTER SDK home does not exist, how am I able to find the Flutter SDK path
-
Karel Hutajulu about 3 yearsThanks, I was looking at it the whole time and couldn't figure it out! Can I do the following to add the path permanently youtube.com/watch?v=9xfRTp6tN5E&ab_channel=FlutterMapp [Minute 1:22-3:01].
-
midi about 3 years“add flutter to path mac permanently” Code Answer Open Terminal. nano ~/.zshrc. Add: export PATH=[PATH_TO_FLUTTER_GIT_DIRECTORY]/flutter/bin:$PATH. Run: source ~/.zshrc. restart terminal. Run: flutter doctor -v.
-
A Akrm almost 2 yearsIn my case I have
Flutter version 3.0.1 at /opt/homebrew/Caskroom/flutter/2.10.4/flutter
anyone knows why we have 3.0.1 and 2.10.4 ?