The preferred way to install the Yii framework is through [composer](http://getcomposer.org/download/).
The preferred way to install the Yii framework is through [composer](http://getcomposer.org/download/).
Refer to [Bower and NPM Assets installation](https://www.yiiframework.com/doc/guide/2.0/en/structure-assets#bower-npm-assets) to select an asset installation method.
Either run
Either run
```
```
composer global require "fxp/composer-asset-plugin:^1.4.1"