Shell/Bash: zsh: command not found: flutter Example

By

Shell/Bash Example: This is the "zsh: command not found: flutter" Example. compiled from many sources on the internet by SimpleTutorials.org

zsh: command not found: flutter

#Set environment $PATH of flutter
1- Open the file $HOME/.zshrc 
2- Add the following line in the opened file:
export PATH="$PATH:/YOUR_FLUTTER_DIR/flutter/bin"
3- Save changes and restart your terminal

add flutter to path mac permanently

Open Terminal
nano ~/.zshrc
Add: export PATH=[PATH_TO_FLUTTER_GIT_DIRECTORY]/flutter/bin:$PATH 
Run: source ~/.zshrc
restart terminal
Run: flutter doctor -v

zsh: command not found

PATH=/bin:/usr/bin:/usr/local/bin:${PATH}
export PATH



* Summary: This "zsh: command not found: flutter" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others