# Creating New App

**Generating a New App Module:**

1. **Command:** Open your terminal and navigate to the root directory of your project.
2.  **Execute Script:** Run the following command, replacing `example` with the desired name for your new app module:

    Bash

    ```
    ./scripts/gen.sh module example
    ```

**Functionality:**

The `gen.sh` script automates the process of creating a new app module with resources for both Android and iOS. The structure of these resources is detailed in the accompanying image (which you haven't provided, but I can still explain the general structure).

**Expected Resource Structure (Based on Common Practices):**

* exampleApp (Native Android Prioject)
* exampleIOS  (Native IOS Project)
* **Shared Module:**
  * shared/src/commonMain/kotlin/modules/exampleModule&#x20;
  * shared/src/androidMain/kotlin/modules/exampleModule
  * shared/src/iosMain/kotlin/modules/exampleModule

<figure><img src="https://3790227239-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FowzMuJgX1sZF5Ebeh2BD%2Fuploads%2FYE8gdTp5A9oe14qZmX7h%2Fx%20copy.png?alt=media&#x26;token=76e10efc-3a01-44f7-bc46-22ef3b2f3ebc" alt=""><figcaption></figcaption></figure>

**Additional Notes:**

* The specific structure might vary depending on your project's configuration and the `gen.sh` script's implementation.
* The script likely generates basic files and configurations to get you started with your new app module. You'll need to fill in the necessary code and resources to implement your app's functionality.
* Refer to the documentation for your KMM tooling or the `gen.sh` script itself for detailed information on its functionalities and customization options.

By using this approach, you can efficiently create new app modules within your KMM project, maintaining a consistent codebase for both Android and iOS while leveraging platform-specific resources.
