Table of contents
Get the industry’s most secure Magento hosting◦ 99.99% uptime
◦ Comprehensive security
◦ 24/7 support

Magento Guide → Extensions → How to Install

How to install Magento extensions

Magento is built to be flexible, but that flexibility comes from the ability to extend it. Magento extensions let you customize how your store works, looks, and performs. Whether you’re adding a new payment gateway, SEO tool, or marketing feature, installing an extension correctly is key to keeping your store stable and secure.

Let’s walk through how to install Magento extensions using both Composer and manual upload, along with tips for safe setup, troubleshooting, and choosing the right method.

Host Magento at full throttle.

Get secure, reliable Magento hosting so you can scale faster.

Understanding Magento extensions

A Magento extension is a bundled piece of code that adds specific features to your Magento store. Think of it like a plugin or app—it might add new shipping methods, product filters, reward systems, or admin tools. Extensions are essential to customizing Magento to meet your business needs.

You can get extensions from:

All Magento 2 extensions follow a specific folder and file structure that Magento recognizes when it’s recompiled. Some extensions are available through Composer (Magento’s package manager), while others are delivered as ZIP files and need to be manually uploaded.

Installing Magento extensions with Composer

Composer is the preferred method for installing Magento extensions. It keeps your codebase clean, manages dependencies automatically, and allows easy updates.

Here’s how to install a Magento extension with Composer step-by-step.

1. Get the extension’s Composer name

If you’re using the Adobe Commerce Marketplace, go to the extension’s listing and scroll down to the “Technical Details” section. There, you’ll find the Composer package name and version number.

If you bought the extension from a third-party vendor, check their documentation or contact support to get the Composer package name.

2. Authenticate with access keys (Marketplace extensions)

If your extension comes from the Marketplace, you’ll need to provide Adobe access keys to install it.

This authenticates your local machine with the Magento Marketplace so Composer can download the extension.

3. Require the package

Open a terminal and navigate to your Magento root directory. Run:

Replace vendor/module-name with the exact Composer name from the Marketplace or vendor documentation.

4. Register the extension and upgrade Magento

After the package installs, run the following commands to register the module and update Magento’s database:

5. Deploy static content

If the extension includes frontend elements (like JavaScript, CSS, or templates), run:

This publishes the extension’s static files so they can appear properly on your storefront.

6. Clear the cache

After any installation, clear Magento’s caches to avoid conflicts:

This ensures new content and configurations are properly loaded.

7. Reindex if needed

Some extensions require Magento to reindex its data (like product categories or pricing). Run:

If you’re not sure whether your extension requires this, run it anyway—it won’t hurt.

Manually installing a Magento extension

If your extension isn’t available via Composer—or if the vendor only offers a ZIP file—you can install it manually.

This method requires uploading files directly to your server and configuring Magento afterward.

1. Download and extract the extension

After downloading the ZIP file, unzip it on your local computer.

You should see a folder with the following structure:

If the files are not nested in a Vendor/ModuleName folder, create that structure yourself. Magento won’t recognize the extension otherwise.

2. Upload to the correct location

Using an FTP client or terminal, upload the extension files to your Magento installation under:

If the app/code directory doesn’t exist, create it.

3. Set proper file permissions

Make sure your web server can read the new files. Run:

This sets the appropriate permissions for directories (755) and files (644).

4. Register the extension and upgrade Magento

Run the same commands as with Composer:

Magento will detect the new extension and apply any updates it needs.

5. Deploy static content

Run: php bin/magento setup:static-content:deploy -f

This ensures any frontend assets included with the extension appear properly.

6. Clear cache and reindex

Finish up by cleaning the cache:

And, if necessary, reindex:

Important tips for successful installation

Installing extensions can affect core files and frontend design, so it’s best to follow safe practices:

Troubleshooting common issues

Magento installation problems usually fall into a few categories. Here’s how to fix the most common ones.

Magento extension FAQs

A Magento extension is a package of files that adds new functionality to your store. This could include frontend features, backend tools, shipping rules, payment options, or performance enhancements.

In Magento, a “plugin” is a specific type of extension used to override or modify the behavior of existing methods. While the terms “extension” and “plugin” are sometimes used interchangeably, plugins are actually a smaller part of the larger extension ecosystem.

Magento 1 reached end of life in 2020, but Magento 2 is still fully supported. Adobe Commerce (the paid, enterprise version of Magento) receives regular updates, and Magento Open Source continues to be maintained by Adobe and the community.

You can install an extension using Composer (by running composer require vendor/module-name) or by manually uploading it to the app/code directory. After uploading, always run php bin/magento setup:upgrade and clear the cache.

Next steps for installing Magento extensions

Installing extensions is how Magento grows with your business. Whether you’re using Composer for a quick install or uploading manually for more control, following the right steps ensures your store stays stable and fast.

If you’re just starting out, use Composer whenever possible—it’s cleaner and easier to manage in the long run.

Ready to upgrade your Magento experience? Professional hosting improves speeds, security, and reliability for a website and a brand that people find engaging and trustworthy.

Liquid Web offers the raw infrastructure power you need with mission-critical features that keep your store running smoothly. Most importantly, our in-house Magento experts are standing by to help with both hosting and Magento application roadblocks.

Click through below to explore all of our Magento hosting options, or chat with an expert right now to get answers and advice.

Ready to get started?

Get the fastest, most secure Magento hosting on the market

Additional resources

What is Magento Ecommerce? →

A complete beginner’s guide to the Magento Ecommerce platform

Magneto vs. WordPress →

Compare pricing, hosting, security, SEO, and a lot more

Best Magento ERP extensions →

Our top 10 compared so you can decide which is best for your business