zsh: command not found: flutter on command prompt code example
Example: 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