vercel environments
The vercel environments command lists your Vercel project's environments, including its custom environments. Custom environments are deployment environments beyond the standard production, preview, and development environments.
vercel environments listUsing vercel environments list to list all environments for your project.
List the standard environments and all custom environments defined for the current project:
vercel environments listList all environments configured for your project.
The --environment option is available on several commands to specify which environment to target:
# Deploy to a custom environment named "staging"
vercel deploy --environment=stagingDeploy your project to a custom environment by specifying
--environment=<environment-name>.
vercel environments listvercel deploy --environment=stagingvercel pull --environment=stagingvercel env add MY_KEY --environment=staging
vercel env list --environment=stagingThe following global options can be passed when using the vercel environments command:
For more information on global options and their usage, refer to the options section.
Was this helpful?