Installing the Vapor toolbox

To install the Vapor toolbox on macOS, all we need to do is follow these steps:

  1. First, verify that you have the right version of Xcode, and whether it is compatible with Vapor, by running the following command in the Terminal:
eval "$(curl -sL check.vapor.sh)" 
  1. You should see the following output if everything is compatible:
  1. Next, we need to install brew, if you do not have it installed already on your mac OS. brew is a package manager similar to apt-get in Debian based Linux OS. You can install it by following the instructions on the Homebrew website, https://brew.sh, or by running the following command in ...

Get Hands-On Full-Stack Development with Swift now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.