/now-cli

The command line interface for Now

Primary LanguageJavaScriptMIT LicenseMIT

now CLI

Build Status XO code style Slack Channel

This is the command line interface for now: Realtime global deployments served over HTTP/2.

It's also a special kind of package. When you install it using npm install -g now, it will automatically select the latest version of the pkg-ed now binary from here and place it on your device.

Usage

Simply follow this guide! Then run this command to see a list of all commands:

now help

Why Ship a pkg-ed Binary?

  • Simpler installation for non-Node users like those deploying static files or Dockerfiles.
  • Consistency across platforms and installation mechanisms (npm, brew and manual scripts)
  • Parsing and evaluation optimizations lead to a faster bootup time
  • Easier installation in automation environments (like CI systems)
  • Increased safety by providing a unified signature mechanism for releases
  • We're able to select our own Node version of choice and can take advantage of the latest features

Caught a Bug?

  1. Fork this repository to your own GitHub account and then clone it to your local device
  2. Link the package to the global module directory: npm run link (not npm link)
  3. You can now start using now from the command line!

As always, you can use npm test to run the tests and see if your changes have broken anything.

Authors