Homebrew Installation: https://brew.sh
Git Installation:
brew install git
Code language: Bash (bash)
PHP Installation:
brew unlink php@x.x # If you already have a version installed, remove it first
brew install php@7.4 # The new version
php -v
Code language: Bash (bash)
NVM Installation:
brew install nvm
Code language: Bash (bash)
Then check the docs here: https://formulae.brew.sh/formula/nvm
Yarn Installation:
brew unlink yarn@x.xx.x # If you already have a version installed, remove it first
brew extract --version 1.22.18 yarn homebrew/cask # The new version
brew install yarn@1.22.18
yarn -v
Code language: Bash (bash)
Composer Installation:
brew unlink composer@x.xx.x # If you already have a version installed, remove it first
brew extract --version 2.1 composer homebrew/cask # The new version
brew install composer@2.1
Code language: Bash (bash)
Leave a Reply