laradock-cli icon indicating copy to clipboard operation
laradock-cli copied to clipboard

Docs Suggestion: Bash alias / $PATH addition

Open Dayjo opened this issue 7 years ago • 2 comments

Unfortunately (at least on my mac) composer global require lorinlee/laradock-cli doesn't add laradock to the $PATH so you cannot immediately run laradock commands.

I suggest a short paragraph in the readme after the composer install, something like;


You may need to add this to your $PATH in your ~/.bash_profile so that you can run the commands.

export PATH="~/.composer/vendor/lorinlee/laradock-cli/laradock:$PATH"

Dayjo avatar Apr 13 '17 16:04 Dayjo

Have you check the path "~/.composer/vendor/bin" if there is a runnable bash called "laradock"?

lorinlee avatar Apr 14 '17 01:04 lorinlee

Ah, yes there is, however that's not executable by default on Mac, so probably best to actually add that path ^ to the $PATH instead.

Dayjo avatar Apr 18 '17 08:04 Dayjo