If the theme contains a `composer.json` or, preferrably a `composer.lock` file, run `composer install` in the theme's directory.