- add
wp-setup.sh
to your home directory - in terminal $
chmod +x wp-setup.sh
so we can execute this without admin permissions needed - add an alias in your terminal profile and source the profile...(see command in next step)
- $
echo '\n\n alias wpsetup="~/wp-setup.sh"' >> ~/.zshrc && . ~/.zshrc
Now, when you are ready run $ wpsetup
in the folder you want to setup Wordpress locally in.