> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gr4vy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Magento Installation

## Before you start

It's recommended that you first install the Magento module in a development
Magento environment which is an exact copy of the live store. After verifying
everything is working properly in the development environment, safely install the module in the live environment.

## Create a backup

Back up your Magento store database and files before installing the module.
You can do this via SSH or using the account dashboard of your hosting provider.

## Installation options

### Install the module via the marketplace

The [Magento plugin](https://marketplace.magento.com/gr4vy-magento.html) is available for free
in the Magento Marketplace.

### Install the module with Composer

The module can be installed by running the command below in the Magento root
directory.

```sh theme={"system"}
composer require gr4vy/magento
```

After installing with Composer, run the following commands in the Magento root directory
to complete the setup.

```sh theme={"system"}
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento cache:flush
php bin/magento setup:static-content:deploy
```
