{"_id":"5768701b72cd4c0e000fad2c","version":{"_id":"5768701b72cd4c0e000fad18","__v":1,"project":"57086fe855a4690e005de407","createdAt":"2016-06-20T22:37:15.641Z","releaseDate":"2016-06-20T22:37:15.641Z","categories":["5768701b72cd4c0e000fad19","5768701b72cd4c0e000fad1a","5768701b72cd4c0e000fad1b","5768701b72cd4c0e000fad1c"],"is_deprecated":true,"is_hidden":false,"is_beta":true,"is_stable":false,"codename":"Client Clyde","version_clean":"0.12.0","version":"0.12"},"parentDoc":null,"project":"57086fe855a4690e005de407","user":"57086f3d447c410e00221bd1","__v":8,"category":{"_id":"5768701b72cd4c0e000fad19","__v":0,"project":"57086fe855a4690e005de407","version":"5768701b72cd4c0e000fad18","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-04-09T02:58:48.377Z","from_sync":false,"order":0,"slug":"documentation","title":"Getting Started"},"updates":["57290648cfc38d0e00717d07"],"next":{"pages":[],"description":""},"createdAt":"2016-04-09T04:33:52.984Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":3,"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]","excerpt":"","slug":"install-toolbox","type":"basic","title":"Install Toolbox"}
[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]