Uninstall or remove composer ( php dependencies manager) in windows 10/11. In this tutorial, you will learn how to remove or uninstall php composer in windows 10/11 system.
Sometimes, we installed composer while trying to install laravel or any php libs, but the installation was not successful and You want to uninstall composer. This tutorial help to uninstall composer in window.
Composer is an application-level package manager for PHP applications. It manages the dependencies and required libraries for PHP-based applications. You can install, remove and upgrade the package using the composer.
Uninstall Composer From Windows 10/11
To delete or uninstall composer from a Windows 7/8/10 computer, simply follow the steps listed below.
Let’s start to uninstalling/removing composer from Windows 10/11:
Step 1: Open window search.
Step 2: Navigate to Programs uninstall
Step 3: Select the Composer and click uninstall button(upper top)
Step 4: The prompt box will appear with the question “are you sure want to completely remove composer and all its components”, Click
yes to process uninstall process.
Step 5: Wait for complete this uninstalling composer process from windows, This will remove the composer from windows 10/11. After successfully uninstall composer from your windows 10/11, You'll get a success message:
To remove just the composer package itself from Ubuntu 16.04 execute on the terminal:
sudo apt-get remove composer
sudo rm -r composer
How to remove Composer manually
In the steps that follow, you can also manually remove the composer:
Step 1: Search the path of the file
composer.phar on your system. The command is
Step 2: Delete the file composer.phar
Step 3: Delete the Cache Folder: