Skip to content
Simple command line tool to install WordPress TRUNK and patches from
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

WPdo - Simple Make WordPress in Bash

Simple command line tool to install WordPress TRUNK and patches from


Starting from scratch in contributing to Make WordPress is challenging, expecially for non-developers. This tool, while still a command line tool, is meant to simplify how people can interact with the technical side of things, from setup to patches.

If you just need support for patches and you're comfortable with Grunt, you might want to check grunt-patch-wordpress.


  • Helps setting up a Mac OSX dev environment (sorry, just OSX for now, collaborations welcome)
  • Helps updating a local WordPress TRUNK setup via SVN
  • Helps applying and clearing patches easily



  1. Open Terminal
  2. Run curl -s -o wpdo.php && php wpdo.php install
  3. Done! Now you can use wpdo from Terminal.


  1. Download wpdo:
  2. Copy it in /usr/local/bin so it's globally available.
  3. Make it executable: chmod +x /usr/local/bin/wpdo.
  4. Done! Now you can use wpdo from Terminal.

Public WPdo website here.


  • wpdo start
    This command checks if everything is installed correctly and helps with setup.
    Also installs WordPress TRUNK to wordpress-trunk subdirectory.
  • wpdo patch [number]
    Just type the patch number or URL and it applies the patch to the WordPress in the current directory.
  • wpdo revert
    Restores the local WordPress folder you're in to its original state.
  • wpdo update
    Updates the local WordPress folder you're in to the latest revision.
  • wpdo kill
    Removes the WordPress sub-folder named wordpress-trunk.


To update uninstall with wpdo uninstall then run the installation again.


  • 0.3 (2017-05-12)
    • Revert command now detects and asks to revert untracked files (#8).
    • Detection of src/ path to switch from patch -p0 to patch -p1 (#11).
    • Better URL detection for patches.
    • Display of changed files after successful patch.
    • Better error message if patch fail.
    • Various fixes.
  • 0.2 (2016-07-22)
    • Added install/uninstall commands.
    • Now remote installation with curl works.
  • 0.1 (2016-06-26)
    • First version.
    • Made at WordCamp Europe Contributors Day 2016


Copyright (C) 2016-2017, Davide Casali
Licensed under GPLv3 License

I've got some gift for languages.
You follow your gift.
But Latin's not easy.

– Ursula K. Le Guin

You can’t perform that action at this time.