#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
// For Mac os
Step 1:
sudo nano /etc/paths
Step 2: paste this line
/Users/<your computer username>/Development/flutter/bin
Step 3: save and exit using ctrl + x , y , enter
Tada....