Skip to content

Instantly share code, notes, and snippets.

@BFTrick
Last active April 1, 2024 04:14
Show Gist options
  • Star 29 You must be signed in to star a gist
  • Fork 14 You must be signed in to fork a gist
  • Save BFTrick/11294357 to your computer and use it in GitHub Desktop.
Save BFTrick/11294357 to your computer and use it in GitHub Desktop.
Download & Install WordPress via Curl
curl -O https://wordpress.org/latest.zip
unzip latest.zip
mv wordpress site
rm latest.zip
@BFTrick
Copy link
Author

BFTrick commented Jul 22, 2019

I updated the link in the original code. Thanks @aymanalzarrad!

@kristos80
Copy link

For those who want to move the wordpress folder to their current directory, should change:
mv wordpress site to mv wordpress/* ./

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment