-bash: flutter: command not found
Copy the code
.bash_profile does not exist. Execute: touch. Bash_profile in the root directory
Add export PATH=[flutter PATH]/bin:$PATH. This can be edited directly or opened using sudo vi ~/.bash_profile
Step 3: source ~/.bash_profile
Step 4: Execute the Flutter doctor