Skip to content

Trellis Docs



Trellis supports most of Vagrant's common providers automatically. By default we recommend VirtualBox since it's free and open source. However, if you prefer some of the commercial products like VMWare or Parallels, feel free to use them.

This main exception here is for developers on Macs with Apple Silicon (M1) chips. Because these are ARM-based CPUs, VirtualBox won't work; it's limited to x86 CPUs like Intel and AMD.

Parallels (Apple Silicon (M1) Macs)

Currently Parallels is the best solution for running virtual machines on Apple Silicon based Macs. Unfortunately, Parallels is a paid and commercial product unlike VirtualBox. Parallels Pro is required as well which has a yearly subscription price of $99 USD.

If you'd like to support Roots, please purchase Parallels Pro through our affiliate link


  1. Purchase Parallels Pro
  2. Install Parallels
  3. Install the Vagrant provider: vagrant plugin install vagrant-parallels

See the Parallels site for more details.


Editing the Vagrantfile directly should be avoided unless necessary. Instead, you can easily set common settings in vagrant.default.yml.

To make local overrides, create a vagrant.local.yml file with any overrides you want. Note: this file is Git ignored.


The example Vagrantfile in this project can be kept in this folder or moved anywhere else such as a project/site folder. Generally, if you want to have multiple sites on 1 Vagrant VM, you should keep the Vagrantfile where it is (in the trellis dir). If you want to have 1 Vagrant VM per project/site, you should make copies of the Vagrantfile and put them into each project's dir. You'd then run vagrant up from the project-specific directory.


For more NFS details and troubleshooting, see the official Vagrant docs.

Mount types

The shared folder mount type can be set in the vagrant.default.yml file. While nfs is the default mount type, it has been observed important I/O performance gains on Linux hosts, by using virtuabox mount type instead, up to 9x faster write and 25x faster read.

We suggest you try by yourself and see what works best for you. Just switch the mount type and vagrant reload. See this issue for details and tests results.


Last updated

Support Roots

Help us continue to build and maintain our open source projects. We’re a small team of independent developers and every little bit helps.

Sponsor Roots on GitHub

Getting Started