How to Install WordPress in the Terminal over SSH

Install WordPress at the command line over SSH by copying-pasting the line below. Be sure that you only do this in an empty directory unless you know what you’re doing, otherwise you might overwrite or delete files.

Update: it now creates a directory for you called wptmp to reduce the chances of mistakes.

mkdir wptmp && cd wptmp && wget http://wordpress.org/latest.zip && unzip latest.zip && mv ./wordpress/* . && rm -rf wordpress latest.zip

Install WordPress in the terminal

Related posts:

Leave a Reply

Your email address will not be published. Required fields are marked *