Ubuntu has apt-get, Node has npm, PHP has composer. What does Mac have? brew.
apt-get
npm
composer
brew