This describes the set of configuration rules that are applied per project. The configuration file always lives in the root directory of the project (except when a custom path is specified using the --local-config flag in Now CLI).
You can choose between creating a separate file for configuring Now (named now.json) or using the package.json file for this (if it's a Node.js project). Please note that it's not possible to add both files to a project. If both exist, you'll be asked to remove one.
As a convenience, we allow for settings to be defined within the now namespace inside the file. For example, let's say you wanted to always alias a deployment to cool.now.sh upon deployment. Your package.json would look as follows:
This describes the set of configuration rules that apply to all projects and all clients of Now (Now CLI, Now Desktop, etc).
By default, they live in a directory named .now in your home directory. Within it, you can find two files (which you can learn more about below). If you need to specifiy a different location of the directory, you can use the --global-config flag in Now CLI, which takes in a custom path to a directory containing the two files.
This file can be (if needed) modified manually. It doesn't contain any authentication information, but rather only cached account data and configuration rules that can apply to all Now clients (Now CLI and Now Desktop).
For our software, we provide two update channels ("stable" and "canary"). This property lets you pick either one in order to enjoy a different pace of updates.
Read more here about why these channels exist and what they're being used for. As an example, this will make Now Desktop and Now CLI receive canary updates:
This file should not be touched manually. It contains the authentication information for all of your providers accessed through a Now client.
In the case that you're uploading your global configurion setup to a potentially unsecure destination, we highly recommend ensuring that this file won't be uploaded, as it allows an attacker to gain access to your provider accounts.