how to install encore by using yarn ? code example Example: install webpack encore $ composer require symfony/webpack-encore-bundle $ yarn install