The command line installer for vapor apps.
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.
The Vapor CLI is installed through npm.
npm install -g vapor-cli
This will add the
vapor command to your system.
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-cli
To check what version you currently have, use
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.
Create and use your own templates:
vapor init --repo https://github.com/username/template-name.git
Or create a PR to add your templates to the
Lists all available commands in the CLI.
Inspired on Foundation CLI