Visitar URL original
vercel environmentsSkip to content

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.

terminal
vercel environments list

Using vercel environments list to list all environments for your project.

List the standard environments and all custom environments defined for the current project:

terminal
vercel environments list

List all environments configured for your project.

The --environment option is available on several commands to specify which environment to target:

terminal
# Deploy to a custom environment named "staging"
vercel deploy --environment=staging

Deploy your project to a custom environment by specifying --environment=<environment-name>.

terminal
vercel environments list
terminal
vercel deploy --environment=staging
terminal
vercel pull --environment=staging
terminal
vercel env add MY_KEY --environment=staging
vercel env list --environment=staging

The 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.

Last updated May 28, 2026

Was this helpful?

supported.