leleduga
leleduga

Reputation: 11

Flutter Doctor; command not found

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

Answers (2)

Usman Qamar
Usman Qamar

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

Chanaka Weerasinghe
Chanaka Weerasinghe

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

Related Questions