problem installing flutter on macOS

33 views
Skip to first unread message

Shantanu Kumar

unread,
Apr 23, 2020, 1:55:49 PM4/23/20
to Flutter Development (flutter-dev)
1.) I downloaded and unzipped the flutter zip file on Desktop.

2.) I start the terminal and change from 'zsh' to 'bash' by the command 'exec bash'.

3.) Then I run the command vim .bash_profile

4.) Press 'i', paste the export command: export PATH=/Users/shantanukumar/Desktop/flutter/bin:$PATH

5.) Hit ESC once, then command: :wq

6.) Returns to the terminal. I quit and start the terminal again.

7.) Then I run: flutter doctor

8.) It shows: bash: flutter: command not found

9.)Please assist as I have to start working on this ASAP.


balaji ks

unread,
Apr 23, 2020, 3:13:05 PM4/23/20
to Shantanu Kumar, Flutter Development (flutter-dev)
Hi,
This is the common issue. I'm faced this issue. Kindly set the correct path of flutter SDK. If you have any issue please let me know.

--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/b0732567-8edf-4a4d-bcbf-386dae16a2ef%40googlegroups.com.

Suzuki Tomohiro

unread,
Apr 23, 2020, 9:49:23 PM4/23/20
to Flutter Development (flutter-dev)
In terminal type
echo $PATH
to see the effect of .bash_profile change (share the output). You might need to run “bash” before running it and flutter command.



Igor Karelin

unread,
Apr 24, 2020, 1:21:11 AM4/24/20
to Flutter Development (flutter-dev)

sumit kumawat

unread,
Apr 24, 2020, 1:30:07 AM4/24/20
to Igor Karelin, Flutter Development (flutter-dev)
I also faced this kind of issue.it's related to your path.please set path properly inside .bash_profile file.
Please check with echo $path in terminal. it'll flutter sdk path is showing or not.

--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.


--
Thanks & Regards
Sumit Kumawat

Shantanu Kumar

unread,
Apr 24, 2020, 6:13:16 AM4/24/20
to Flutter Development (flutter-dev)

.) I run the command: vim .bash_profile


2.) paste the following command: 


export PATH=“/Users/shantanukumar/Desktop/flutter/bin:$PATH”


3.) Hit esc, then :wq and Enter


4.) echo $PATH


OUTPUT: /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin


5.) somehow it is not referring to the correct path.


What am I doing wrong here ?


I tried running in bash also but same result.


On Friday, April 24, 2020 at 7:19:23 AM UTC+5:30, Suzuki Tomohiro wrote:
In terminal type
echo $PATH
to see the effect of .bash_profile change (share the output). You might need to run “bash” before running it and flutter command.
On Thu, Apr 23, 2020 at 13:55 Shantanu Kumar <shant...@gmail.com> wrote:
1.) I downloaded and unzipped the flutter zip file on Desktop.

2.) I start the terminal and change from 'zsh' to 'bash' by the command 'exec bash'.

3.) Then I run the command vim .bash_profile

4.) Press 'i', paste the export command: export PATH=/Users/shantanukumar/Desktop/flutter/bin:$PATH

5.) Hit ESC once, then command: :wq

6.) Returns to the terminal. I quit and start the terminal again.

7.) Then I run: flutter doctor

8.) It shows: bash: flutter: command not found

9.)Please assist as I have to start working on this ASAP.


--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutt...@googlegroups.com.

Shantanu Kumar

unread,
Apr 24, 2020, 6:13:29 AM4/24/20
to Flutter Development (flutter-dev)

.) I run the command: vim .bash_profile


2.) paste the following command: 


export PATH=“/Users/shantanukumar/Desktop/flutter/bin:$PATH”


3.) Hit esc, then :wq and Enter


4.) echo $PATH


OUTPUT: /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin



5.) somehow it is not referring to the correct path.


What am I doing wrong here ?


I tried running in bash also but same result.


On Friday, April 24, 2020 at 11:00:07 AM UTC+5:30, sumit kumawat wrote:
I also faced this kind of issue.it's related to your path.please set path properly inside .bash_profile file.
Please check with echo $path in terminal. it'll flutter sdk path is showing or not.

On Fri, Apr 24, 2020 at 10:51 AM Igor Karelin <ikar...@gmail.com> wrote:
https://flutter-net.com/2020/03/25/setup-flutter-developer-environment-on-mac/

On Thursday, April 23, 2020 at 8:55:49 PM UTC+3, Shantanu Kumar wrote:
1.) I downloaded and unzipped the flutter zip file on Desktop.

2.) I start the terminal and change from 'zsh' to 'bash' by the command 'exec bash'.

3.) Then I run the command vim .bash_profile

4.) Press 'i', paste the export command: export PATH=/Users/shantanukumar/Desktop/flutter/bin:$PATH

5.) Hit ESC once, then command: :wq

6.) Returns to the terminal. I quit and start the terminal again.

7.) Then I run: flutter doctor

8.) It shows: bash: flutter: command not found

9.)Please assist as I have to start working on this ASAP.


--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutt...@googlegroups.com.

Shantanu Kumar

unread,
Apr 24, 2020, 6:13:55 AM4/24/20
to Flutter Development (flutter-dev)

.) I run the command: vim .bash_profile


2.) paste the following command: 


export PATH=“/Users/shantanukumar/Desktop/flutter/bin:$PATH”


3.) Hit esc, then :wq and Enter


4.) echo $PATH


OUTPUT: /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin



5.) somehow it is not referring to the correct path.


What am I doing wrong here ?


I tried running in bash also but same result.


On Friday, April 24, 2020 at 12:43:05 AM UTC+5:30, balaji ks wrote:
Hi,
This is the common issue. I'm faced this issue. Kindly set the correct path of flutter SDK. If you have any issue please let me know.

On Thu, 23 Apr 2020, 23:25 Shantanu Kumar, <shant...@gmail.com> wrote:
1.) I downloaded and unzipped the flutter zip file on Desktop.

2.) I start the terminal and change from 'zsh' to 'bash' by the command 'exec bash'.

3.) Then I run the command vim .bash_profile

4.) Press 'i', paste the export command: export PATH=/Users/shantanukumar/Desktop/flutter/bin:$PATH

5.) Hit ESC once, then command: :wq

6.) Returns to the terminal. I quit and start the terminal again.

7.) Then I run: flutter doctor

8.) It shows: bash: flutter: command not found

9.)Please assist as I have to start working on this ASAP.


--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutt...@googlegroups.com.

Samuel Raja Singh

unread,
Apr 24, 2020, 6:31:15 AM4/24/20
to Flutter Development (flutter-dev)
Bro you need to run

source .bash_profile

Before running flutter

Then run which flutter to see flutter is installed or not

Reply all
Reply to author
Forward
0 new messages