mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
21 lines
660 B
Markdown
21 lines
660 B
Markdown
## Create
|
|
|
|
```
|
|
serverless create --name serviceName --stage dev --region us-east-1
|
|
```
|
|
|
|
Creates a new service in the current working directory.
|
|
|
|
### Options
|
|
- `--name` The name of your new service. **Required**.
|
|
- `--stage` The name of your first stage in service. **Required**.
|
|
- `--region` The name of your first region in stage. **Required**.
|
|
|
|
### Examples
|
|
|
|
```
|
|
serverless create --name serviceName --stage dev --region us-east-1
|
|
```
|
|
|
|
This example will create a new service called `serviceName` and generate boilerplate in the current working directory. Your new service will have a new stage called `dev` and a region inside that stage called `us-east-1`.
|