I don\'t know if this question has been asked, because searching finds results mostly about moving the libraries installation directory.
I have a globally installed comp
This works for me, PHP 7.3 on ubuntu 18.04
Install
composer install --working-dir=/your_composer_dir
Update
composer update --working-dir=/your_composer_dir