> For the complete documentation index, see [llms.txt](https://docs.akinon.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.akinon.com/tutorials/app-maker/developer-tools-and-cli/setup-existing-project-on-cli.md).

# Setup Existing Project on CLI

When working on an existing project in App Maker, it’s essential to properly set up the project environment before starting development. This involves cloning the repository, installing project dependencies, and preparing the development environment for mobile platforms (iOS and Android). This guide provides step-by-step instructions to ensure a smooth setup process.

### <mark style="color:red;">Clone the Project Repository​</mark> <a href="#clone-the-project-repository" id="clone-the-project-repository"></a>

Begin by cloning the project repository using Git. Run the following command, replacing `[repository-url]` with the actual repository URL:

```bash
$ git clone [repository-url]
```

Once cloned or downloaded from anywhere, navigate to the project’s root directory:

```bash
$ cd [project-folder]
```

### <mark style="color:red;">Install the Project​</mark> <a href="#install-the-project" id="install-the-project"></a>

With the repository cloned, install the necessary project dependencies by running the following command in the project’s root directory:

```bash
$ appmaker project install
```

This command ensures that all required dependencies and configurations for the project are properly installed.

{% hint style="warning" %}
For more information on `project install` command, refer to the Project Install documentation.
{% endhint %}

### <mark style="color:red;">Run the Project​</mark> <a href="#run-the-project" id="run-the-project"></a>

After the installation is complete, start the project by running the following command:

```basic
$ appmaker project run
```

You’ll be prompted to select a platform—choose either **iOS** or **Android** based on your development needs.

{% hint style="warning" %}
For more information on `project run` command, refer to the Project Run documentation.
{% endhint %}

### <mark style="color:red;">Verify the Setup​</mark> <a href="#verify-the-setup" id="verify-the-setup"></a>

Ensure the project runs smoothly on the selected platform by verifying the output on your emulator or connected device. If any errors occur, double-check the dependencies and configuration.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.akinon.com/tutorials/app-maker/developer-tools-and-cli/setup-existing-project-on-cli.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
