~/Homestead 目录下执行下面的命令

  • 初始化虚拟机vagrant up
  • 登录vagrant ssh
  • 退出虚拟机exit
  • 关闭 Homesteadvagrant halt