By accident or not I’m not sure, but WordPress conveniently links to the newest version using the same link: latest.tar.gz. Instead of having to go to WordPress.org to grab the link every time, just make an alias to it and put in your .bash_profile:
- Open a Terminal window and type: edit ~/.bash_profile
- Add the following code on two blank lines:
#download latest WordPress alias wplatest='wget http://wordpress.org/latest.tar.gz'
Then close the file, open a new Terminal window, and browse to the directory you want to install WordPress in. When you get there, just type ‘wplatest’ to download the magic.