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
  • 13,012
  • 3
  • 34
  • 40
Wael Khalifa
  • 895
  • 7
  • 17

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
  • 12,050
  • 12
  • 70
  • 98