Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试通过 iTerm Fish 安装 Valet,但启动时出现此错误:
鱼:未知的命令代客
谁能帮我?
如果你跑了echo $PATH却看不到~/.composer/vendor/bin或其他任何东西~,那么它就从你身上消失了$PATH。添加它运行:
echo $PATH
~/.composer/vendor/bin
~
$PATH
set -U fish_user_paths ~/.composer/vendor/bin $fish_user_paths
现在,当您运行时,echo $PATH您应该会看到~/.composer/vendor/bin并且现在可以运行valet install.
valet install
资料来源: