超越代码公开 |公开:在 linux 中找不到命令错误

Beyond Code Expose | expose: command not found error in linux

我在 linux 机器上安装了 composer。我想使用最近发布的隧道应用程序公开,这是 ngrok 的替代方案。 检查此 here . But after installing I cannot use it as it shows error expose: command not found. Someone posted similar issue here 但我找不到任何解决方法。我尝试检查作曲家的路径(如下所示)和其他内容,但什么也没发生。

感谢任何形式的帮助。

https://beyondco.de/docs/expose/introduction

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

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

选择:

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

同样的过程,如果你使用像 zshrc 这样的外部终端。