Install latest version WordPress Mac Terminal command

Nice little one liner for installing the latest version of WordPress through a little mac terminal command.

Create yourself a ~/.bash_profile file and create this function within it.

wp-install(){
	wget http://wordpress.org/latest.tar.gz;
 	tar xfz latest.tar.gz;
	mv wordpress/* ./;
	rmdir ./wordpress/;
	rm -f latest.tar.gz;
}

Tags: , , , ,