Are you having this issue? Vagrant not found but can be installed either on your production server or local server? Don’t worry this is an easy fix.
The reason why you get this error is most likely because you are running this command in the wrong directory, now here is what to do:
You have to navigate to the directory where your project is on the server, and then run the commands you need to.
cd /home/myusername/my-project-url.com php artisan cache:clear
Vagrant not found but can be installed fixed
That’s it, once you navigate to the proper Folder, everything should be ok.
Nevertheless, if you still hit this error, then drop a comment below and let’s fix it together.