> For the complete documentation index, see [llms.txt](https://landofcoder.gitbook.io/one-step-checkout/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://landofcoder.gitbook.io/one-step-checkout/installation/setup-module.md).

# Setup Module

####

To install Magento 2 OneStepCheckout extension, please follow below instructions step by step:

Download new module file on our site <https://landofcoder.com> and upload right module version for magento 2 version of your site via FTP client (firezilla)

Run magento 2 commands:

`php bin/magento module:enable Ecomteck_Core Ecomteck_OneStepCheckout Ecomteck_OneStepCheckoutCompatible Ecomteck_OrderComment Ecomteck_DeliveryDate`

`php bin/magento setup:upgrade --keep-generated`

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

`php bin/magento cache:clean`

Or go to **Back-end > System > Cache Management**. Click the following buttons to completely clear the store cache:

1. Flush  Cache
2. Flush Cache Storage
3. Flush Catalog Images Cache
4. Flush Javascripts/CSS cache

**Note:** If you have problem about geoip lib was not installed. Please run there composer commands to setup there required lib:

```
composer require geoip2/geoip2 -v 2.0
```

```
composer require hybridauth/hybridauth -v 2.9.6
```

*If you setup composer for libs completely, you should delete custom lib extension on your site. Please disable the lib extension as following:*\
– *Edit the file “**app/etc/config.php**” then find code*:

**‘Ecomteck\_OneStepCheckoutLib’ => 1,**

*delete it or change to:*

**‘Ecomteck\_OneStepCheckoutLib’ => 0,**

*and delete folder:*

**app/code/Ecomteck/OneStepCheckoutLib**

*Then run commands:*

```
php bin/magento setup:upgrade --keep-generated
```

```
php bin/magento cache:clean
```
