Tags (space separated): Yii2
1 Install Composer
[ahcj@localhost ~]$ curl -sS https://getcomposer.org/installer | php
[ahcj@localhost ~]$ mv composer.phar /usr/bin/composer
2 Install the resource management plugin Composer asset plugin
Composer asset plugin is necessary to manage bower and npm packages through Composer. This command takes effect globally.
[ahcj@localhost ~]$ composer global require "fxp/composer-asset-plugin:^1.2.0"