Reputation: 13
I tried installing flutter on my macOS, but whenever i run flutter command on terminal it says flutter not found. Ive extracted the Flutter SDK in Application folder and ive added the path in .bash_profile. still it did not work. Attaching the Bash file and terminal screenshots here.
Path which i added is -
export PATH="/Users/ritishkannayagari/Applications/flutter/bin:$PATH"
Upvotes: 0
Views: 450
Reputation: 7799
You are using zsh
in your terminal. You can either :
bash
in your terminal :Terminal > Preferences > Shells open with: /bin/bash
zsh
and add flutter PATH to ~/.zshrc
echo 'export PATH="$HOME/Applications/flutter/bin:$PATH"' >> ~/.zshrc
Then restart Terminal
zsh
add source ~/.bash-profile
in your ~/.zshrc
echo 'source ~/.bash-profile' >> ~/.zshrc
Upvotes: 1