Installing WordPress Locally

This section of the handbook contains tutorials that will walk you through the process of installing WordPress locally.

Why do I need a local WordPress install? Why do I need a local WordPress install?

If you want to contribute to WordPress coreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress., you need to have a local installLocal Install A local install of WordPress is a way to create a staging environment by installing a LAMP or LEMP stack on your local computer. of WordPress on your computer to break, play with, and develop with. A local WordPress install allows you to create/test patches, find/fix bugs, and help develop/test new features during a release cycle.

There are two steps to installing WordPress on your computer for contributing to core:

  1. Choose and install a local server
  2. Install WordPress trunktrunk A directory in Subversion containing the latest development code in preparation for the next major release cycle. If you are running "trunk", then you are on the latest revision.

If you haven’t installed a local server yet, you’ll need to do that before continuing.

Top ↑

Zip File, SVNSVN Subversion, the popular version control system (VCS) by the Apache project, used by WordPress to manage changes to its codebase., or GitGit Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Git is easy to learn and has a tiny footprint with lightning fast performance. Most modern plugin and theme development is being done with this version control system. Zip File, SVN, or Git?

Once you have your local server installed, you can download a zip file of the latest nightly release, check out a copy of WordPress trunk using Subversion (SVN), or install from our GitHub mirror.

Installing the latest nightly release from a zip file will allow you to beta test the code, and contribute bugbug A bug is an error or unexpected result. Performance improvements, code optimization, and are considered enhancements, not defects. After feature freeze, only bugs are dealt with, with regressions (adverse changes from the previous version) being the highest priority. reports. However, if you want to contribute patches along with those bug reports, you’ll need to install a version-controlled copy of WordPress trunk.

SVN and Git are both version control systems. You’ll become very familiar with them when you are contributing to core.

  • Subversion (SVN) is the official version controlversion control A version control system keeps track of the source code and revisions to the source code. WordPress uses Subversion (SVN) for version control, with Git mirrors for most repositories. system used by the WordPress Project.
  • For those who prefer working with Git, a mirror of the SVN repository is hosted on GitHub. Please do not make pull requests, but submit your bug reports and patches to Trac instead.

Last updated: