> For the complete documentation index, see [llms.txt](https://docs.create-magento-app.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.create-magento-app.com/getting-started/available-commands/link.md).

# Link a theme

## `yarn run link <path>` or `npm run link <path>`

Sets ScandiPWA as a Magento Theme from your specified folder.

{% hint style="warning" %}

### Heads up!

Please follow [this guide](/usage-guide/themes.md) for linking ScandiPWA theme to your Magento App.
{% endhint %}

{% hint style="danger" %}
Since **magento-scripts** version 2 to link a theme it must be located within Magento project!
{% endhint %}

### Command options

#### `-v, --verbose`

{% hint style="info" %}
Since **magento-scripts\@1.9.0**
{% endhint %}

This option will enable printing of logs from linking a theme.

```bash
yarn run link ./path/to/scandipwa --verbose # for Yarn
npm run link ./path/to/scandipwa -- --verbose # for NPM
```

## Usage example

```bash
yarn run link ./path/to/scandipwa # for Yarn
npm run link ./path/to/scandipwa # for NPM
```
