3

After reinstalling macOS, I started setup my dev environment based on Laracasts "Setup a mac dev machine from scratch". At the previous time when I installed php/valet/composer etc, everything was fine, but now the terminal (in every new session) always asks password when I type valet.

I added the composer path to .zshrc

export PATH=$HOME/bin:/usr/local/bin:$HOME/.composer/vendor/bin:$PATH
Arthanis
  • 31
  • 5

3 Answers3

3

In order to get this going you can run the following command:

$ valet trust

This will let you enter the password once, and remember it. Using the trust command, you indicate that the current machine can be trusted for development, and Valet will stop asking for the password.

EeKay
  • 6,494
  • 3
  • 24
  • 24
2

Your macOS native apache might be running, try stopping it

sudo apachectl stop
Salal Aslam
  • 1,367
  • 4
  • 16
  • 32
0

running sudo valet start fixed it for me.

Nomi
  • 710
  • 3
  • 11
  • 21