---
title: Building packages with CLI
slug: world-sdk-guide/building-packages-with-cli
docTags: 
createdAt: 2024-09-02T08:34:13.137Z
---

You can build a world developed through the ZEPETO World SDK in Unity's Batch Mode and upload it to ZEPETO Studio.

:::hint{type="danger"}
- Support is provided only for ZEPETO Studio accounts created using email login.
- The world version set in the current Unity project will be applied and deployed.
- Please check if ZEPETO Studio allows uploading of new versions.
- Before entering the CLI command, make sure to close the running Unity Editor.
- Please check the path where Unity is installed and the path to the Project.
:::



Please refer to the following guide for basic pre-launch World settings.

:::hint{type="info"}
**📘&#x20;**&#x50;lease refer to the following guide. \[[Releasing your World](docId\:EbzxOudYpR43F3ygZ4xIN)]
:::



To run in Unity's Batch Mode, enter the following CLI command:

- Below is the CLI using the default Unity installation path as an example. Please change it based on your own installation path.
- When entering the project path and account information, type them without quotes.
- If you only want to build without uploading, exclude the -upload flag from the command.
- Be cautious when using batch files or script files, as account information and passwords could be exposed.



## Windows

- How to Run Command Prompt : Press the Windows+R keys on the keyboard to open the Run dialog, then type "cmd" in the text input field and click the "OK" button.

```shell
"C:\\Program Files\\Unity\\Hub\\Editor\\2020.3.9f1\\Editor\\Unity.exe" -batchmode -nographics -projectPath [Project path] -executeMethod "ZepetoPackageCliBuilder.BuildWithArgs" -id [ZEPETO Studio account (email)] -password [Password] -worldId [World Id] -upload
```

- Here's an example of how to input the commands in the Windows Command Prompt:

![](https://api.archbee.com/api/optimize/fCt3n1oCa8rgNJ8fw9I2N-RxQztL4ROVajH4Nvy6_T6-20240904-102413.png)



## MacOS

- How to Run Terminal : Press the shortcut keys Command + Space to open Spotlight Search, then type "Terminal" and press Enter.

```shell
/Applications/Unity/Hub/Editor/2020.3.9f1/Unity.app/Contents/MacOS/Unity -batchmode -nographics -projectPath [Project path] -executeMethod "ZepetoPackageCliBuilder.BuildWithArgs" -id [ZEPETO Studio account (email)] -password [Password] -worldId [World Id] -upload
```

- Here's an example of how to input the commands in the MacOS Terminal:

![](https://api.archbee.com/api/optimize/fCt3n1oCa8rgNJ8fw9I2N-6zv55iCY7VLqlprrzILRh-20240904-102413.png)

:::hint{type="success"}
**👍&#x20;**&#x42;uild > .zepetopackage file is created within the Unity Project folder you worked on.
:::

