I want to install drupal console with composer from DDEV (https://ddev.readthedocs.io/en/stable/)
No problem to install Drush with DDEV
DDEV cannot be Root.
Not populating custom commands or hostadditions because running with root privileges ddev is not designed to be run with root privileges, please run as normal user and without sudo
My command :
ddev composer update drupal/console --with-dependencies
But the response is :
Dependency "composer/installers" is also a root requirement, but is not explicitly allowed. Ignoring.
Dependency "composer/installers" is also a root requirement, but is not explicitly allowed. Ignoring.
Loading composer repositories with package information Updating dependencies (including require-dev) Nothing to install or update Package container-interop/container-interop is abandoned, you should avoid using it.
Use psr/container instead. Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Generating autoload files
44 packages you are using are looking for funding.
Use the composer fund
command to find out more!
For Drush I use:
ddev drush args
I would like to do
ddev drupal args
Sorry for my language.
Thanks!!:)