1

I'm trying to install Valet by iTerm Fish, but when start I get this error:

fish: Unknown command valet

Can anyone help me?

Aken Roberts
  • 12,492
  • 3
  • 33
  • 40
Wael Khalifa
  • 745
  • 6
  • 15

1 Answers1

5

If you run echo $PATH and don't see ~/.composer/vendor/bin or whatever ~ equates to, then it's missing from you $PATH. To add it run:

set -U fish_user_paths ~/.composer/vendor/bin $fish_user_paths

Now when you run echo $PATH you should see ~/.composer/vendor/bin and now be able to run valet install.

Sources:

haakym
  • 11,222
  • 10
  • 63
  • 93