vagrant upで起動しようとしてもできないときがありました。
$vagrant up
エラー内容
A Vagrant environment or target machine is required to run this command. Run
vagrant init
to create a new Vagrant environment. Or, get an ID of a target machine fromvagrant global-status
to run
this command on. A final option is to change to a directory with a Vagrantfile and to try again.
解決策
$cd homestead
$vagrant up
Homesteadを使ってlaravelの環境構築していたのですが、 Homesteadに移動していなかったので起動できなかったです。。。