I assume you're using Windows if you don't have PHP installed so the paths below relate to Windows.
init creates a folder in your user directory called .homestead.
C:\Users\YourUserName\.homestead\
Within this folder are 3 files:
after.sh
#!/bin/sh
# If you would like to do some extra provisioning you may
# add any commands you wish to this file and they will
# be run after the Homestead machine is provisioned.
aliases
alias ..="cd .."
alias ...="cd ../.."
alias h='cd ~'
alias c='clear'
function serve() {
if [[ "$1" && "$2" ]]
then
sudo dos2unix /vagrant/scripts/serve.sh
sudo bash /vagrant/scripts/serve.sh "$1" "$2" 80
else
echo "Error: missing required parameters."
echo "Usage: "
echo " serve domain path"
fi
}
function serve-hhvm() {
if [[ "$1" && "$2" ]]
then
sudo dos2unix /vagrant/scripts/serve-hhvm.sh
sudo bash /vagrant/scripts/serve-hhvm.sh "$1" "$2" 80
else
echo "Error: missing required parameters."
echo "Usage: "
echo " serve-hhvm domain path"
fi
}
and finally Homestead.yaml
---
ip: "192.168.10.10"
memory: 2048
cpus: 1
provider: virtualbox
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
folders:
- map: D:\Code
to: /home/vagrant/Code
sites:
- map: myapp.dev
to: /home/vagrant/Code/myapp/public
databases:
- homestead
variables:
- key: APP_ENV
value: local
# blackfire:
# - id: foo
# token: bar
# client-id: foo
# client-token: bar
# ports:
# - send: 93000
# to: 9300
# - send: 7777
# to: 777
# protocol: udp
You could try creating the folder and files manually and see how you get on.
If you somehow managed to vagrant up without the yaml file, I'd run vagrant destroy and then vagrant up again after creating the above.
Good luck.