These docs are for v0.12. Click to read the latest docs for v0.16.

Install Toolbox

Install CLI

Vapor's command line interface provides shortcuts and assistance for commons tasks. Let's install it.

curl -sL toolbox.qutheory.io | sh

📘

Swift Required

The Vapor Toolbox is a Swift package, so you will need to have Swift 3 installed to install it.

Verify

Make sure the Toolbox installed successfully by running the help query. You should see a print out of the available commands. You can run the --help option on any Toolbox command.

vapor --help

Updating

The CLI can update itself. This may be useful if you experience any issues in the future.

vapor self update