install brew windows code example

Example 1: how to install brew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

Example 2: homebrew for windows

mkdir homebrew && curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C homebrew

Example 3: mac install brew

$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

Example 4: install homebre windows

// homebre for MacOs. Windows Users use https://chocolatey.org 

//Install Chocolatey
https://chocolatey.org/install#individual