Install Git, PHP, NVM, Yarn and Composer with Homebrew

Homebrew Installation: https://brew.sh

Git Installation:

brew install gitCode language: Bash (bash)

PHP Installation:

brew unlink [email protected] # If you already have a version installed, remove it first
brew install [email protected] # The new version
php -vCode language: Bash (bash)

NVM Installation:

brew install nvmCode language: Bash (bash)

Then check the docs here: https://formulae.brew.sh/formula/nvm

Yarn Installation:

brew unlink [email protected] # If you already have a version installed, remove it first
brew extract --version 1.22.18 yarn homebrew/cask # The new version
brew install [email protected]
yarn -vCode language: Bash (bash)

Composer Installation:

brew unlink [email protected] # If you already have a version installed, remove it first
brew extract --version 2.1 composer homebrew/cask # The new version
brew install [email protected]Code language: Bash (bash)

Posted

in

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.