For a plugin for Sublime Text I was required to install a composer package globally.
In order to do this I had to run the following command:
composer glo
It gets your composer home directory and i use composer version 2.0.8 on Win 10
composer config --list --global | grep 'home'
[home] C:/Users/youruser/AppData/Roaming/Composer