nowCLI is the main interface to the Now platform.
npmor as pre-built binaries. The recommended installation mechanism, however, is Now Desktop (which includes Now CLI and also ensures it's always up-to-date).
nowis to deploy, it also has a variety of sub commands grouped by different concerns.
|When you invoke |
After that, you'll instantly receive its URL so that you can share it with other people around the globe.
If you want to deploy multiple paths at once, read this.
|Show a list of all deployments. If |
|Remove a deployment from our platform. The |
|Let's you configure an alias for an existing deployment. You can read more about how to take the maximum of functionality out of this sub command here.|
|Allows you to manage your domain names directly from the command line (before using them as aliases with |
|By default, Now will automatically provision certificates for your deployments. Using this sub command, you can see when they're expiring and upload your own ones (read more).|
|Running this sub command will open the latest deployment of the project within the current directory in your default browser (aliases won't be respected).|
nowwill deploy the current working directory. In order to deploy a different path, pass it to the command:
|Easily add or remove credits cards from your account and adjust billing methods.|
|Switch your plan from within the command line interface. Even after the command is run, we don't require you to use a web interface. The whole process happens directly in your terminal.|
.gitignoreexists, we don't upload the contents that are defined in it
.npmignoreexists, we don't upload the contents that are defined in it and ignore the existence of .gitignore
.dockerignoreexists, we don't upload the contents that are defined in it and ignore the existence of .gitignore and .npmignore
package.json: In that case, we follow npm's behaviour. This means that if
filesexists (which as per definition defines which files should be uploaded),
.npmignorewill take precedence and have the final word on which items will be uploaded to Now.
files) property inside
"files": [ "hello.png", "dist" ]