I followed the instructions in the Laravel docs to install Vagrant and Homestead on Windows 10, but now I've decided to move all development to another dedicated server running Debian.
I need to completely remove Vagrant, Homestead, Composer, and AMPPS (the old stuff) from my Windows 10 desktop. It should be easy to remove Vagrant and AMPPS, but how do I clean up the leftover stuff?
I don't need to save any codes, etc. I already have them in a different location.
Solutip
Delete the Homestead VM by running .
vagrant box remove laravel/homestead
If you installed Homestead via Composer use this command:
composer global require laravel/homestead
So, to remove it use this command:
composer remove laravel/homestead
This will remove the .composer/vendor/laravel directory, including the 'Homestead' subdirectory. The 'global' keyword is not required.
On Mac or Linux systems, Homestead configuration files can be removed by deleting the ' directory.~/.homestead
' directory. You may need to hunt around a bit to find the directory on your Windows system. Don't worry too much if you can't find it; the directory is small and harmless.
Composer is usually installed as a Windows app; check Add/Remove programs (or the Windows 10 equivalent) to uninstall it.
If you installed Composer manually and it doesn't appear in the list of installed applications, simply delete the 'composer' binary and configuration directory ( ~/.composer pada sistem Mac/Linux
).