I am pulling my hair trying to figure out out to get the bake tool to work.
What i've done
Opened terminal and type in
cd ~
Then i've type in
vi .profile
Which already has the following contents
export PATH="$PATH:/Applications/MAMP/bin/php/php5.4.10/bin:/Applications/MAMP/cakephp/lib/Cake/Console/cake:$PATH"
Now when i go into the htdocs folder and type in terminal
cake bake sampleapp
I get the following message
zsh: command not found: cake
I'm not sure on how to troubleshoot this. Thank you for reading this :)