{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","results":{"codes":[]},"settings":"","params":[]},"next":{"description":"","pages":[]},"title":"Install Toolbox","type":"basic","slug":"install-toolbox","excerpt":"","body":"[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Install CLI\"\n}\n[/block]\nVapor's command line interface provides shortcuts and assistance for commons tasks. Let's install it.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl -sL toolbox.qutheory.io | sh\\n\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Swift Required\",\n  \"body\": \"The Vapor Toolbox is a Swift package, so you will need to have Swift 3 installed to install it.\"\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Verify\"\n}\n[/block]\nMake 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.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"vapor --help\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Updating\"\n}\n[/block]\nThe CLI can update itself. This may be useful if you experience any issues in the future.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"vapor self update\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]","updates":["57290648cfc38d0e00717d07"],"order":3,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5768701b72cd4c0e000fad2c","version":{"version":"0.12","version_clean":"0.12.0","codename":"Client Clyde","is_stable":false,"is_beta":true,"is_hidden":false,"is_deprecated":true,"categories":["5768701b72cd4c0e000fad19","5768701b72cd4c0e000fad1a","5768701b72cd4c0e000fad1b","5768701b72cd4c0e000fad1c"],"_id":"5768701b72cd4c0e000fad18","releaseDate":"2016-06-20T22:37:15.641Z","__v":1,"createdAt":"2016-06-20T22:37:15.641Z","project":"57086fe855a4690e005de407"},"parentDoc":null,"project":"57086fe855a4690e005de407","user":"57086f3d447c410e00221bd1","__v":8,"createdAt":"2016-04-09T04:33:52.984Z","githubsync":"","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Getting Started","slug":"documentation","order":0,"from_sync":false,"reference":false,"_id":"5768701b72cd4c0e000fad19","createdAt":"2016-04-09T02:58:48.377Z","__v":0,"project":"57086fe855a4690e005de407","version":"5768701b72cd4c0e000fad18"}}
[block:api-header] { "type": "basic", "title": "Install CLI" } [/block] Vapor's command line interface provides shortcuts and assistance for commons tasks. Let's install it. [block:code] { "codes": [ { "code": "curl -sL toolbox.qutheory.io | sh\n", "language": "shell" } ] } [/block] [block:callout] { "type": "info", "title": "Swift Required", "body": "The Vapor Toolbox is a Swift package, so you will need to have Swift 3 installed to install it." } [/block] [block:api-header] { "type": "basic", "title": "Verify" } [/block] 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. [block:code] { "codes": [ { "code": "vapor --help", "language": "shell" } ] } [/block] [block:api-header] { "type": "basic", "title": "Updating" } [/block] The CLI can update itself. This may be useful if you experience any issues in the future. [block:code] { "codes": [ { "code": "vapor self update", "language": "shell" } ] } [/block]