How to install WordPress from the command line | Linux Today

How to install WordPress from the command line

Written By
Web Webster
Web Webster
Nov 18, 2013

Most people install WordPress through its web interface using a browser. This is the officially supported installation method, and it’s easy and intuitive. But did you know you can also install WordPress from the Linux command line?

There are good reasons for installing WordPress from the shell:

It’s easy and convenient – The default WordPress installation process requires that users know how to upload files by FTP, create MySQL databases, and assign users to them. Those tasks may be showstoppers for people who want to use WordPress but aren’t technically proficient.

It’s faster – If you’re performing a large number of WordPress installations, it’s dull and time-consuming to repeatedly follow the default installation procedure.

It offers improved security – A shell script to install WordPress can be secure and restrictive. Without one, WordPress users need FTP and MySQL access, and you cannot really control what they do with that.

It provides flexibility and customization – A shell script installation allows you to modify the default WordPress installation and do things such as adding or customizing plugins and themes.

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.