bash: flutter: command not found
Apparently, none of the flutter commands are working on the terminal of an android studio which I believe I am tryi
On macOS Catalina ,The issue is with Path
If output is /bin/bash
We need to convert to Zsh. Zsh is only the default shell on newly created user accounts, so any existing accounts you have on an upgraded Mac will still use Bash by default unless you change it. simply run the chsh -s (change shell) command in a Terminal window.
[command : chsh -s /bin/zsh ]
Enter your password when prompted. After you close the terminal window and reopen it, you’ll be using Zsh.
2.1. Open the zshrc file [command : vim ~/.zshrc ]
2.2. Press 'I' to insert the path as [ export PATH=~/Dev/flutter/bin:$PATH ] ,here ~/Dev/ is the Folder where Flutter is installed
2.3. Hit ESC Key and then :wq to save and exit the file