I followed the instructions in Laravel docs to install Vagrant and Homestead on Windows 10, but now I've decided to move the whole development stuff to another dedicated server running Debian.

I need to fully remove Vagrant, Homestead, Composer as well as AMPPS (old stuff) from the Windows 10 desktop. It should be easy to simply uninstall Vagrant and AMPPS, but how do I go about cleaning up the remaining things?

I don't need to keep any of the code etc. I've already got that in a different location.

推荐答案

Virtual Machine

Remove the homestead VM by running

vagrant box remove laravel/homestead

Homestead

If you installed Homestead via composer with the following command:

composer global require laravel/homestead

run the opposite to remove it:

composer remove laravel/homestead

这将删除.Composer/Vendor/laravel目录,包括其‘home stead’子目录."global"关键字不是必需的.

On a Mac or Linux system, the Homestead configuration files can be removed by deleting the '~/.homestead' directory. You may need to hunt a little to find the directory on your Windows system. Don't worry too much if you can't find it; the directory is small and innocuous.


Composer

Composer is usually installed as a Windows application; check Add/Remove programs (or the Windows 10 equivalent) to uninstall it.

If you installed Composer manually and it does not appear in your list of installed apps, simply remove the 'composer' binary and the configuration directory (~/.composer on Mac/Linux systems).

Laravel相关问答推荐

Laravel 验证 - 不同的属性规范

从 Laravel 中的值开始主键

基于值laravel提交表单后如何返回特定页面

在 laravel 5.3 中截断的错误日志(log)

Laravel 5 日志(log)中的最大文件数

laravel 5 中的登录事件处理

条带 api 判断现有卡

php Laravel-遇到格式不正确的数值(在字符串上)

在 Laravel 中显示已注册的路由

如何在 laravel 中解码 Json 对象并在 laravel 中应用 foreach 循环

WhereHas Laravel 中的关系计数条件是什么

assets资源不引用公用文件夹(Laravel)

控制器中的artisan调用输出?

Laravel 用户能力

如何在 Laravel 中 Refresh刷新用户对象?

Laravel binding绑定的用途和目的是什么?

基于日期的 Laravel 日志(log)文件

laravel中的动态网址?

函数参数前的三个点代表什么?

Laravel 5.2 |测试 UploadedFile 在发布后错过了 $test 值?