I've composer installed in my linux machine. I wanted to use recently released tunnel application expose which is ngrok alternative. check this here . But after installing I cannot use it as it shows error expose: command not found. Someone posted similar issue here but I couldn't find any way to solve it. I tried checking path of composer ( given below ) and stuff but nothing happened.
Any kind of help is appreciated.
If you are using a default terminal then :
echo 'export PATH="$PATH:$HOME/.config/composer/vendor/bin"' >> ~/.bashrc
Alternative:
export PATH="$PATH:$HOME/.config/composer/vendor/bin"
at the buttom.Same Process if you use external terminal like zshrc as well.