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

## Examples

### List all targets

```bash filename="terminal"
vercel target list
```

### Deploy to a custom environment

```bash filename="terminal"
vercel deploy --target=staging
```

### Pull environment variables for a custom environment

```bash filename="terminal"
vercel pull --environment=staging
```

### Set and use environment variables for a custom environment

```bash filename="terminal"
vercel env add MY_KEY staging
vercel env ls staging
```

## Related

-
-
-


--------------------------------------------------------------------------------
title: "vercel teams"
description: "Learn how to list, add, remove, and manage your teams using the vercel teams CLI command."
last_updated: "2026-02-03T02:58:38.546Z"
source: "https://vercel.com/docs/cli/teams"
--------------------------------------------------------------------------------