Hi, I’ve installed Flarum using the Quick Install App button, and I want to install the Flarum Extension Manager, which requires Composer. My question is, can I install Composer at the user level, or is it only possible to install Composer at the admin level?
Hi,
You can install composer at user level.
v-add-user-composer HereTheUserName
1 Like
Hello @sahsanu But I get this everytimes I run composer command line (running as normal user)
[user@localhost]:~/web/[user]/public_html$ composer require flarum/extension-manager:“*”
Command ‘composer’ not found, but can be installed with:
apt install composer
Please ask your administrator.
If you already installed composer for the user using v-add-user-composer command, then the error you get is because composer is not in the PATH of your user, so, you must use the full path to run it.
~/.composer/composer require flarum/extension-manager:"*"
2 Likes
Thank you @sahsanu , it works now, .composer folder is hidden in my home path.