# Install Composer global
npm i -g php-getcomposer
# Install Composer local
npm i php-getcomposer
#Update Composer using NPM (local / gloabl)
npm i -g php-getcomposer
npm i php-getcomposer
# Update Composer from the developer (global)
composer self-update