If you haven't already, go ahead and download and install Nanobox.
# Create a new directory for your project and cd in
mkdir hugo-proj && cd hugo-proj
# Create a `boxfile.yml` using the content from this gist
curl -sL http://tinyurl.com/ya23f5ry > boxfile.yml