botman / studio

Ready to use BotMan + Laravel framework
331 stars 90 forks source link

botman command not found in ubuntu #79

Open cscwilson opened 5 years ago

cscwilson commented 5 years ago

Dear All i am try to start to learn botman , when i follow the installation step for botman studio , after success install the botman studio using this command "composer global require "botman/installer". i can't to do next step because the botman command not found in system. for installation process , i have not found any error occur , the log below: Changed current directory to /home/pi/.config/composer Using version ^1.0 for botman/installer ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 1 install, 0 updates, 0 removals

Any idea on it? Thanks!

DrSiroukane commented 5 years ago

@cscwilson try these steps:

cd ~
sudo gedit .bashrc

in the end of the file, add this line

export PATH=$HOME/.config/composer/vendor/bin:$PATH

exit your terminal then open it again and it will work :) that's how i solve this problem for me

raghavasai106 commented 2 years ago

whats the command for mac os for sudo gedit .bashrc