---
url: /reference/cli/distribute.md
---

# distribute

分发当前工作区中的应用。

## 使用

```shell
Usage: nexus distribute [options]
```

## 选项

```shell
-v, --verbose                    enable verbose mode
-s, --siteUrl [siteUrl]          specify the site URL (see your default site by running nexus settings list)
-e, --environment <environment>  specify the environment (see your default environment by running nexus settings list)
-h, --help                       display help for command
```

## 示例

执行分发流程

```shell
nexus distribute
```

指定站点和环境执行分发流程

```shell
nexus distribute -s {your-domain}.pingcode.com -e development
```
