Hyva Offical Documentation: https://docs.hyva.io/hyva-themes/getting-started/index.html
Blog Title: How to Install Hyvä Theme in Magento 2: A Step-by-Step Guide.
Description:
Learn how to install the Hyvä Theme in Magento 2 with this detailed guide. From adding the Hyvä private Packagist key and repository to running Composer commands and deploying the theme, we cover everything you need to get started with Hyvä. Enhance your Magento store’s performance and design with ease!
Step 1: Add the Hyvä Theme Private Packagist Key
Edit the auth.json file in your Magento installation’s root folder and add the private Packagist credentials.
{
“http-basic”: {
“hyva-themes.repo.packagist.com”: {
“username”: “token”,
“password”: “xxxxxxxxxxxxxxxxxxxxxxxxx”
}
}
}
username: Keep it as token.
password: Replace xxxxxxxxx with your Hyvä Theme License Key.
Step 2: Add the Private Packagist Repository
Modify the composer.json file in the root folder to include the Hyvä repository URL.
“repositories”: {
“private-packagist”: {
“type”: “composer”,
“url”: “https://hyva-themes.repo.packagist.com/{hyva-gitlab-packagist-name}/”
},
“0”: {
“type”: “composer”,
“url”: “https://repo.magento.com/”
}
},
Step 3: Install the Hyvä Theme
Run the following Composer commands in the Magento 2 root directory:
- Require the theme and related modules:
composer require hyva-themes/magento2-theme-module:1.1.9
composer require hyva-themes/magento2-default-theme
composer require hyva-themes/magento2-react-checkout
composer require hyva-themes/magento2-hyva-widgets
composer require –dev hyva-themes/hyva-ui
2. Update Composer:
composer update
Step 4: Deploy the Theme
Run the following Magento CLI commands:
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
Step 5: Verify Installation
After completing the steps above, navigate to the Magento Admin Panel to assign the Hyvä Theme to your store.
- Go to Content > Design > Configuration.
- Edit the desired Store View and select Hyvä Theme under the Applied Theme section.
- Save the configuration and flush the cache
php bin/magento cache:flush
Your Hyvä Theme should now be installed and active on your Magento 2 store.
Output:

Contributed by: Divya
Excellone Technologies boasts a dynamic Magento team with expertise in the latest eCommerce technologies. If you have an eCommerce project in mind, connect with us to turn your vision into a fully functional, high-performing online store.
- By Dev Team