#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
***** For Mac *****
Just Run This the export PATH="$PATH":"$HOME/.pub-cache/bin" on terminal