Global Vercel CLI Configuration
Using the following files and configuration options, you can configure Vercel CLI under your system user.
The two global configuration files are: config.json and auth.json. These files are stored in the com.vercel.cli directory inside XDG_DATA_HOME, which defaults to:
- Linux:
~/.local/share/com.vercel.cli - macOS:
~/Library/Application Support/com.vercel.cli - Windows:
%APPDATA%\Roaming\xdg.data\com.vercel.cli
This file is used for global configuration of Vercel deployments. Vercel CLI uses this file as a way to co-ordinate how deployments should be treated, consistently.
The first options are // Note and // Docs. They give a description of the file and a link to its documentation, if a user should find themselves looking through it without context.
You can use the following options to configure all Vercel deployments on your system's user profile:
Type: String.
Valid values: A team ID.
This option tells Vercel CLI which context is currently active. If this property exists and contains a team ID, that team is used as the scope for deployments, otherwise if this property does not exist, the user's Hobby team is used.
{
"currentTeam": "team_ofwUZockJlL53hINUGCc1ONW"
}Type: Object.
Valid values: An object with an enabled property that is true (default) or false.
This option defines whether Vercel CLI collects telemetry. The vercel telemetry command sets this value when you run vercel telemetry enable or vercel telemetry disable. To learn what Vercel CLI collects, see Telemetry.
{
"telemetry": {
"enabled": true
}
}This file should not be edited manually. It exists to contain the authentication information for the Vercel clients.
In the case that you are uploading your global configuration setup to a potentially insecure destination, we highly recommend ensuring that this file will not be uploaded, as it allows an attacker to gain access to your provider accounts.
Was this helpful?