Local WordPress Installation Automated
![Automatically Install Wordpress Locally](https://i0.wp.com/three17design.com/wp-content/uploads/2014/05/WP-Install.jpg?fit=734%2C512&ssl=1)
What if installing WordPress locally was as easy as using the installer script from the control panel with your web hosting? That would be nice. Well, I don’t know what options exist for this, but I’ve written a shell script to make this supper easy. Local WordPress installation made easy! All I have to do now to install a new WordPress site on my local server type this in the terminal:
wpinstall NewSite ~/Sites/
That’s it! After running this, I get asked for MySQL username and password, a database is created, and the wp-config file is created and configured accordingly to be able to access the database and install plugins from online through your dashboard.