> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: origami create-site

## Article: origami create-site

## Article Link: https://dev.wix.com/docs/wix-cli/command-reference/origami-commands/origami-create-site.md

## Article Content:

# wix origami create-site

<blockquote class="caution">

__Alpha:__
[Exporting your site to code](https://dev.wix.com/docs/studio-two/code-your-site/export-your-site/about-exporting-your-site-to-code.md) is currently in alpha. This feature is subject to change and may have bugs, issues, and limitations. We're actively improving it based on your feedback.

</blockquote>

Creates a blank, unpublished Studio Two site in your Wix account and [exports](https://dev.wix.com/docs/wix-cli/command-reference/origami-commands/origami-export-site.md) it to a local folder as code. For more information, see [About Exporting Your Site to Code](https://dev.wix.com/docs/studio-two/code-your-site/export-your-site/about-exporting-your-site-to-code.md).

The CLI prompts you for a name for the new site and suggests one based on the current date and time. After it creates the site, the CLI displays a link to the site and prompts you for a folder, suggesting `origami/sites/<site-id>` in the current folder.

> **Note:** This command is part of the `origami` flow. To use it, [add the flow](https://dev.wix.com/docs/wix-cli/command-reference/global-commands/flows.md) to the CLI.

## Usage

```bash
wix origami create-site [flags]
```

## Flags

The following flags are available for the `wix origami create-site` command:

| Flag | Description |
| ---- | ----------- |
| `--name <name>` | The name of the new site. |
| `-d, --dir <path>` | The folder to export the site to. |
| `--json` | Outputs the result in JSON format. |