1.0.0-beta.3 • Published 7 years ago
vapor-cli v1.0.0-beta.3
Vapor CLI
The command line installer for vapor apps.
Requirements
You'll need the following software installed to get started.
- Node.js 8.0+: Use the installer provided on the NodeJS website.
- Git: Use the installer for your OS. Windows users can also try Git for Windows.
Installing
The Vapor CLI is installed through npm.
npm install -g vapor-cliThis will add the vapor command to your system.
Updating
The CLI periodically gets updates that add features or fix bugs. Use npm to upgrade the CLI to the newest version.
npm update -g vapor-cliTo check what version you currently have, use -v.
vapor -vCommands
init
Starts the setup process for a new react web app project. The CLI will ask you which template you want to use and a folder name for the project.
vapor initCreate and use your own templates:
vapor init --repo https://github.com/username/template-name.gitOr create a PR to add your templates to the vapor-cli/lib/util/templates.js file.
help
Lists all available commands in the CLI.
vapor helpCredits
Inspired on Foundation CLI