> For the complete documentation index, see [llms.txt](https://docs.scandipwa.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.scandipwa.com/about/contributing/installation-from-fork.md).

# Installation from Fork

Generally, the installation follows the same flow as the ScandiPWA projects, but instead of installing from template using `create-scandipwa-app` you will need to clone the project from the source.

## Prerequisites

You need to have Git, Node (version >= 12), and Yarn installed

```bash
git --version
node -v # expected: v12.x or v14.x
yarn -v
```

You also need to fork the ScandiPWA repository to be able to create pull requests.

{% hint style="warning" %}

### Make sure you are using Yarn, not NPM

This project is forcing you to use Yarn because it relies on the underlying "workspaces" feature. The NPM will not work properly.
{% endhint %}

## Setting Up

Clone the ScandiPWA repository:

```bash
# clone your fork - replace <your-username> with your github username
git clone https://github.com/<your-username>/scandipwa
cd scandipwa # move into the directory you cloned
```

Install dependencies with `yarn`:

```bash
yarn
```

Now, you can go ahead use ScandiPWA in the following modes:

### Storefront mode

Just enter the ScandiPWA package directory and run the `start` command. Alternatively, use any other available command from [this list](/developing-with-scandi/developer-tools/available-commands.md).

```bash
cd packages/scandipwa # move into the scandipwa package directory
yarn start
```

### Magento mode

You can follow the [original instructions](/getting-started-1/magento-theme-mode.md#3-link-magento-app-with-scandipwa-app) (**starting from step 3**), but make sure to use the package path, not the cloned repository path `packages/scandipwa`.
