gpt4 book ai didi

composer-php - 超越代码公开 |暴露 : command not found error in linux

转载 作者:行者123 更新时间:2023-12-05 01:35:48 25 4
gpt4 key购买 nike

我已经在我的 linux 机器上安装了 composer。我想使用最近发布的隧道应用程序公开,这是 ngrok 的替代方案。检查这个here .但是安装后我无法使用它,因为它显示错误 expose: command not found。有人发布了类似的问题 here但我找不到任何方法来解决它。我尝试检查 Composer 的路径(如下所示)和其他内容,但什么也没发生。

感谢任何形式的帮助。

enter image description here

https://beyondco.de/docs/expose/introduction enter image description here

最佳答案

如果您使用的是默认终端,则:

echo 'export PATH="$PATH:$HOME/.config/composer/vendor/bin"' >> ~/.bashrc

备选方案:

  1. sudo nano ~/.bashrc
  2. 在按钮处添加export PATH="$PATH:$HOME/.config/composer/vendor/bin"

如果您也使用像 zshrc 这样的外部终端,则过程相同。

关于composer-php - 超越代码公开 |暴露 : command not found error in linux,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62621485/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com