Please note: these instructions do not apply to a 2.0 -> 2.1 upgrade. For instructions on how to perform that upgrade, please see this thread: http://processwire.c...opic,583.0.html
Upgrading ProcessWire from the ZIP file
1. Download the latest version of ProcessWire from the downloads page at GitHub and click the "Download ZIP" button: https://github.com/r...archives/master
2. Extract the ZIP file somewhere temporary (I usually extract on my desktop).
3. Replace the following files from your existing installation with the new versions found in the ZIP you extracted. If you want to be able to revert back to the old version, backup any files you replace first.
- Replace: /wire/ with the new version
- Replace: /index.php with the new version
- Replace: /.htaccess with the new version (rename htaccess.txt from the ZIP to .htaccess)
Your site is now upgraded. Test that everything works as it should.
Upgrading ProcessWire using Git & GitHub:
If you originally installed from the source at GitHub, you can upgrade to the latest version of ProcessWire easily by using git pull.
cd /your/processwire/installation/ git pull
All files related to your specific site are contained in the /site/ dir, which is not part of the source files on GitHub, so it should remain untouched through the git pull (though it doesn't hurt to back it up).
Your site is now upgraded, but you'll want to finalize it by doing a little housekeeping. You will find that git pull added some files that weren't there before. Here's what you should do with them:
- Delete: /install.php
- Delete: /site-default/
- Rename: /htaccess.txt => .htaccess
The above steps are optional if you are upgrading a non-production/development server. Since I git pull regularly, I just leave these files in place so that I don't have to delete them every upgrade. In addition, the .htaccess file rarely changes through upgrades. While optional on a local development server (that isn't accessible from outside), on a production server, you absolutely need to perform these steps.
Your site is now upgraded. Test that everything works as it should.













