Install wordpress via CLI (mac compatible)
In the command line cd to the destination directory, then download the latest version of Wordpress in it's compressed format (note that wget can be used as an alternative to cURL for Linux styled users):
sudo curl -O https://wordpress.org/latest.tar.gz
Extract the compressed package files to the same directory:
tar -xvzf latest.tar.gz
Remove the compressed file:
rm latest.tar.gz
Rename the wordpress directory to the required project name:
mv /path/to/wordpress /path/to/new_wordpress_name