Reputation: 11
Installing flutter using documentation for macOS. I entered the commands below:
$ unzip ~/Downloads/flutter_macos_v1.9.1+hotfix.6-stable.zip
$ export PATH="$PATH:'pwd'/flutter/bin"
and then try
$ flutter doctor
, as instructed and get command not found
(also got command not found when trying 'flutter precache
')
Upvotes: 1
Views: 2419
Reputation: 49
Add the following line and change "pwd" :
export PATH="$PATH:'pwd'/flutter/bin"
to be the path where you cloned Flutter’s git repo
Upvotes: 0
Reputation: 5742
Do this
vi ~/.zshrc
then
export PATH="$PATH:/yourpath_to_/flutter/bin"
after that save doc pres esc +:+!
after that
source ~/.zshrc
Upvotes: 2