How to Fix “Bash Command not Found” Issue in MAC OS
If you are getting Bash command not found issue while executing any command in terminal. It means that the path variable may have gotten befuddled.
You should be able to fix the issue by running below two commands in the terminal. These commands contain the default executable paths.
export PATH="/usr/bin:/bin:/usr/sbin:/sbin" export PATH="/usr/local/bin:/usr/local/sbin:$PATH"
Now, execute your command again which was giving you an issue earlier. It should work this time.