vapor-cli

The command line installer for vapor apps.

Usage no npm install needed!

<script type="module">
  import vaporCli from 'https://cdn.skypack.dev/vapor-cli';
</script>

README

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-cli

This 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-cli

To check what version you currently have, use -v.

vapor -v

Commands

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 init

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 vapor-cli/lib/util/templates.js file.

help

Lists all available commands in the CLI.

vapor help

Credits

Inspired on Foundation CLI