Skip to content

Instantly share code, notes, and snippets.

@BFTrick
Last active February 17, 2025 22:11
Show Gist options
  • 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
@skoskie
Copy link

skoskie commented Jul 20, 2019

... I suppose you could go ahead and add the first commit too.

git add --all && \
git commit -sq -m "Initial commit of Wordpress core files. Hello World."

@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