Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

zsh: command not found: flutter

Tags:

sdk

flutter

zshrc

I added the path in .zshrc file but it is still saying command not found, i tried 100 times but it is not working

my .zshrc file

please see the image here

my flutter folder path

please see the image here

what am I doing wrong?

like image 616
sarakhan Avatar asked Oct 24 '25 16:10

sarakhan


1 Answers

You need to add flutter bin folder to your path like this:

1- open terminal

2- Open paths file

sudo vi /etc/paths

3- Add Flutter bin path

YOUR_FLUTTER_DIRECTORY/flutter/bin

4- Restart terminal

like image 98
Houssin Boulla Avatar answered Oct 27 '25 06:10

Houssin Boulla



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!