macOS Development Environment: Trellis

Trellis relies on a few additional software packages to function. Install these packages:

  • VirtualBox >= 4.3.10
  • Vagrant >= 2.1.0
  • Ansible >= 2.5.3


Download and install the "OS X Hosts" version of VirtualBox from


Install Vagrant from Homebrew:

$ brew cask install vagrant


Install pip (Python package manager) if you don't already have it:

$ sudo easy_install pip

Install Ansible with pip:

$ pip install ansible

# Install a specific Ansible version:
$ pip install ansible==

Join over 6,000 subscribers on our newsletter to get the latest Roots updates, along with occasional tips on building better WordPress sites.

Looking for WordPress plugin recommendations, the newest modern WordPress projects, and general web development tips and articles?

“Easily the best WordPress email I get.” Colin OBrien

Follow us on Twitter @rootswp

Ready to checkout?