From the CLI, run the following commands to install the Afterpay module. The right installation command is dependent on your Magento 2 version: Magento version ...