Skip to content

achinhchin/Brew-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

My Brew setup

This repository show step to install and add Brew to path to make it can be used in any operating system.

Image Preview

  • Example Image Example Image

Go to

Os support

  • Windows (WSL)
  • macOS
  • Linux

Contents


Important

In Windows, you have to Install WSL and type every command in WSL to install brew.

0. Update apt and install git (For Debian only, if you use other you should update your installer)

Type these commands in your shell.

sudo apt update && sudo apt upgrade
sudo apt-get install git

1. Install Brew

Copy and paste this command into your terminal.

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

Important (for Windows (WSL) and Linux only)

Don't close terminal or type any command after install brew for 2.

2. Add Brew to PATH (For Windows (WSL) and Linux only)

echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> /home/$USER/.profile
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"

3. Install useful software for Brew

sudo apt-get install build-essential
brew install gcc

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published