Skip to content

Instantly share code, notes, and snippets.

@Quantalabs
Last active July 28, 2021 20:04
Show Gist options
  • Save Quantalabs/8640dfca495248daf997951a77d69b4c to your computer and use it in GitHub Desktop.
Save Quantalabs/8640dfca495248daf997951a77d69b4c to your computer and use it in GitHub Desktop.
Useful utilities to install for your linux distribution.

Useful utils

Useful utils for your linux distribution.

This installs:

  • Git
  • ZSH
  • Homebrew

Suggest more if you want!

echo "Installing git..."
sudo apt install git-all
echo "Completed!"
echo "Installing ZSH..."
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
echo "Configuring..."
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
echo "Completed"
echo "Installing Homebrew..."
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/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
echo "Completed!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment