how to know the version of homestead installed

Viewed 4113

I can't remember what version was installed and I want to see know but I don't know how. Probably there will be some command to the terminal but I can't figure out.

Can anyone tell me?

Thanks in advance.

3 Answers

For newcomers to Laravel, this depends on what instance of Homestead you're working with (how you've chosen to install Homestead).

Per-project installation

# From your project directory, run this
php vendor/bin/homestead --version

Global installation

# If you've already set homestead in PATH env
homestead --version

# If you haven't
php ~/Homestead/homestead --version

Hope this saves you some minutes.

If you want to check the version of Homestead repository you can check using following command on ~/Homestead

$ git branch -v

and the result would be something like this

* master 09fce4c Tag v10.0.2

and here it is v10.0.2

Related