Skip to content

Instantly share code, notes, and snippets.

@Lyuji282
Created April 29, 2019 15:12
Show Gist options
  • Save Lyuji282/00a53c40a2e27210f6052463daf4af46 to your computer and use it in GitHub Desktop.
Save Lyuji282/00a53c40a2e27210f6052463daf4af46 to your computer and use it in GitHub Desktop.
sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv)
test -d /home/linuxbrew/.linuxbrew && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
test -r ~/.bash_profile && echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.bash_profile
echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment