Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

cmanrique's avatar

envoy deploys: Problems running envoy run deploy command

HI all, i need some help please. i have deployed the envoy package successfully at my vagrant homestead laravel box and works like a charm, i implemented the Envoy.blade.php with all task and instructions to make deployments and works pretty well and when i hit on the terminal the "envoy run deploy" all the deployment process goes all right, but considering the deployment on the staging account to test the deployment process (production server) the command who runs the deployment doesn't work... on the server i pulled the changes and even running composer global require laravel/envoy and composer global update but not results, firstly i was having this error "-bash: envoy: command not found" so searching on google i added some tweaks i added the /.composer/vendor/bin directory (wasn't exist but in my vagrant homestead does exist) besides i added the file ~/.composer/vendor/bin/envoy and i bash it on my ~/.bash_profile adding export PATH="$PATH:$HOME/.composer/vendor/bin" and well i am not having the anymore the error mentioned "-bash: envoy: command not found" but now instead when i hit envoy run deploy the response is nothing!!, please any advise would help me a lot thanks

0 likes
0 replies

Please or to participate in this conversation.