I tried to install composer via PHP command like said in getcomposer site,
But the bash throw an error:
bash: php: command not found
So I did a search in google , and I came up with some answers,
1) to add php binary file path to $PATH variable
The problem is when I run:
find / -name php -type f
I get this error:
find: ‘/run/user/1000/gvfs’: Permission denied
Even with sudo and as a root
2) To install tht php-cli package, so I run
pacman -S php7-cli
But I get this error:
error: target not found: php7-cli
So what it isn't working for me?
I installed php via XAMPP installer and I', using manjaro