How to download WP-core

Sometimes it’s necessary for autocomplete in code editors (IDEs) and for misc purposes (during plugin/theme development, etc.).

Manual downloading from wp.org

Just go to this page and press the big blue button: https://wordpress.org/download/

Also you can use this list of all releases: https://wordpress.org/download/releases/

Automated downloading from wp.org

curl -s -o ./wordpress-5.9.3.zip https://wordpress.org/wordpress-5.9.3.zip
unzip -q ./wordpress-5.9.3.zip

Git

git clone --depth=1 --branch=5.9.3 git@github.com:WordPress/WordPress.git ./any-local-dir

Composer

https://packagist.org/packages/johnpbloch/wordpress-core

https://packagist.org/packages/johnpbloch/wordpress-core-installer