> For the complete documentation index, see [llms.txt](https://data-programs.gitbook.io/singularity/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://data-programs.gitbook.io/singularity/cli-reference/prep/create.md).

# Create

{% code fullWidth="true" %}

```
NAME:
   singularity prep create - Create a new preparation

USAGE:
   singularity prep create [command options]

CATEGORY:
   Preparation Management

OPTIONS:
   --delete-after-export              Whether to delete the source files after export to CAR files (default: false)
   --help, -h                         show help
   --max-size value                   The maximum size of a single CAR file (default: "31.5GiB")
   --min-piece-size value             The minimum size of a piece. Pieces smaller than this will be padded up to this size. It's recommended to leave this as the default (default: 1MiB)
   --name value                       The name for the preparation (default: Auto generated)
   --no-dag                           Whether to disable maintaining folder dag structure for the sources. If disabled, DagGen will not be possible and folders will not have an associated CID. (default: false)
   --no-inline                        Whether to disable inline storage for the preparation. Can save database space but requires at least one output storage. (default: false)
   --output value [ --output value ]  The id or name of the output storage to be used for the preparation
   --piece-size value                 The target piece size of the CAR files used for piece commitment calculation (default: Determined by --max-size)
   --source value [ --source value ]  The id or name of the source storage to be used for the preparation

   Quick creation with local output paths

   --local-output value [ --local-output value ]  The local output path to be used for the preparation. This is a convenient flag that will create a output storage with the provided path

   Quick creation with local source paths

   --local-source value [ --local-source value ]  The local source path to be used for the preparation. This is a convenient flag that will create a source storage with the provided path

```

{% endcode %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://data-programs.gitbook.io/singularity/cli-reference/prep/create.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
