CreatePaclet
CreatePaclet["name"]
creates a paclet directory called name in the current directory.
CreatePaclet[object]
creates a paclet directory structure corresponding to the specified PacletObject expression in the current directory.
CreatePaclet["name", dir]
creates a paclet directory called name in the directory dir.
CreatePaclet[object, dir]
creates a paclet directory structure corresponding to the specified PacletObject expression in the directory dir.
Details and Options
- CreatePaclet creates a directory and generates an appropriate PacletInfo.wl for it.
- CreatePaclet will create subdirectories corresponding to the specified paclet extensions, if appropriate.
- Common PacletObject metadata fields can be passed as options to CreatePaclet, and are used to populate the generated PacletInfo.wl file. The following options are supported:
-
"Extensions" {"Kernel", "Documentation"} the set of paclet extensions provided by the new paclet "Version" "0.0.1" The initial "Version" number of the new paclet "WolframVersion" Automatic The initial "WolframVersion" requirement of the new paclet. Defaults to any version greater than or equal to $VersionNumber. - Paclets created by CreatePaclet are in a format incompatible with versions of the Wolfram Language prior to 12.1.
Examples
open allclose allBasic Examples (4)Summary of the most common use cases
Begin by ensuring PacletTools` is loaded:

https://wolfram.com/xid/0d2brj7cj8e1791vjo88fjap2e-zsdew5
Create a paclet with the default Kernel and Documentation extensions:

https://wolfram.com/xid/0d2brj7cj8e1791vjo88fjap2e-ek5xmx

The new paclet directory contains the following files:

Access the location of the new paclet:

https://wolfram.com/xid/0d2brj7cj8e1791vjo88fjap2e-9dfeyo

Create a paclet based on a PacletObject specification:

https://wolfram.com/xid/0d2brj7cj8e1791vjo88fjap2e-g92u61

Create a paclet in the user home directory:

https://wolfram.com/xid/0d2brj7cj8e1791vjo88fjap2e-huqs58

Options (2)Common values & functionality for each option
"Version" (1)
Applications (1)Sample problems that can be solved with this function
Possible Issues (1)Common pitfalls and unexpected behavior
CreatePaclet[PacletObject[<| .. |>], ..] will return an error if any options are specified. This is to prevent ambiguity with keys within the association:

https://wolfram.com/xid/0d2brj7cj8e1791vjo88fjap2e-uiyz67


Wolfram Research (2020), CreatePaclet, Wolfram Language function, https://reference.wolfram.com/language/PacletTools/ref/CreatePaclet.html (updated 2021).
Text
Wolfram Research (2020), CreatePaclet, Wolfram Language function, https://reference.wolfram.com/language/PacletTools/ref/CreatePaclet.html (updated 2021).
Wolfram Research (2020), CreatePaclet, Wolfram Language function, https://reference.wolfram.com/language/PacletTools/ref/CreatePaclet.html (updated 2021).
CMS
Wolfram Language. 2020. "CreatePaclet." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2021. https://reference.wolfram.com/language/PacletTools/ref/CreatePaclet.html.
Wolfram Language. 2020. "CreatePaclet." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2021. https://reference.wolfram.com/language/PacletTools/ref/CreatePaclet.html.
APA
Wolfram Language. (2020). CreatePaclet. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/PacletTools/ref/CreatePaclet.html
Wolfram Language. (2020). CreatePaclet. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/PacletTools/ref/CreatePaclet.html
BibTeX
@misc{reference.wolfram_2025_createpaclet, author="Wolfram Research", title="{CreatePaclet}", year="2021", howpublished="\url{https://reference.wolfram.com/language/PacletTools/ref/CreatePaclet.html}", note=[Accessed: 08-June-2025
]}
BibLaTeX
@online{reference.wolfram_2025_createpaclet, organization={Wolfram Research}, title={CreatePaclet}, year={2021}, url={https://reference.wolfram.com/language/PacletTools/ref/CreatePaclet.html}, note=[Accessed: 08-June-2025
]}