⚠️ Uninstall a project

Heads up!

yarn cleanup or npm run cleanup

This command allows you to gracefully uninstall Create Magento App project.

Watch out!

Command options

-f, --force

Cleanup will remove Magento files and CMA cache. The folder will remove to initial structure.

Heads up!

PHP will not be removed by running this command. To remove it you should delete the folder ~/.phpbrew/php/php-7.3.11/.

Usage example

Add new line to package.json:

package.json
{
    "scripts": {
        "cleanup": "magento-scripts cleanup"
    }
}

Now use it as normal:

npm run cleanup # for NPM
yarn cleanup # for Yarn

Last updated