Add export
command to .zprofile
to macOS install page for Mac Catalina or higher
#5374
Labels
a.get-started
Relates to the Getting Started section of docs.flutter.dev
devos.macOS
Relates to developing apps on macOS platform
e1-hours
Effort: < 8 hrs
p2-medium
Necessary but not urgent concern. Resolve when possible.
ux.first-hour
Relates to the user's first hour experience with Flutter
The problem
I had a problem installing flutter at my Macbook Air 2017 (OS version = Big Sur).
Step by step to reproduce
flutter doctor
command not found
The Solution
zsh
with a.zprofile
(not.zshrc
nor.zshenv
etc).Then I added this to the
.zprofile
:export PATH=$HOME/FLUTTER_DIR/flutter/bin:$PATH
AND..... IT WORKS!
Proposal
Consider adding a note at Get Started Documentation.
Best regards.
The text was updated successfully, but these errors were encountered: