Install latest version Wordpress Mac Terminal command

January 3, 2013    cmd line latest wordpress mac terminal Wordpress wordpress cmd line instal

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;
}

blog comments powered by Disqus