Skip to content

Instantly share code, notes, and snippets.

@LinnJS
Last active June 7, 2023 16:59
Show Gist options
  • Save LinnJS/511e5c8209f8eca153c95aeb6f899df1 to your computer and use it in GitHub Desktop.
Save LinnJS/511e5c8209f8eca153c95aeb6f899df1 to your computer and use it in GitHub Desktop.
brew-scaffold-script.sh
#!/bin/sh
# Homebrew Script for OSX
# To execute: save and run command `chmod +x ./brew-scaffold-script.sh && ./brew-scaffold-script.sh`
echo "Installing homebrew 🍺..."
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Set HOME path for homebrew
echo "Configuring homebrew πŸŽ‰..."
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
echo "Installing brew cask 🍻..."
brew tap homebrew/cask
# Programming Languages
echo "Installing the freshest programming languages πŸš€..."
brew install node
brew install yarn
brew install python
brew install go
brew install ruby
# Dev Tools
echo "Installing development tools πŸ› οΈ..."
brew install docker
brew install git
brew install act
brew install jq
brew install nvm
brew install httpie
brew install zsh
brew install spaceship
brew install --cask iterm2
brew install --cask visual-studio-code
brew install --cask postman
# Kubernetes tools
echo "Installing Kubernetes tools β›΅..."
brew install kubernetes-cli
brew install kubectx
brew install kind
brew install k9s
# Video tools
echo "Installing video tools 😎..."
brew install --cask mpv
# Web Browsers
echo "Installing browsers πŸ’…..."
brew install --cask brave-browser
brew install --cask firefox
brew install --cask google-chrome
# Communication Apps
echo "Installing communication apps πŸ“±..."
brew install --cask discord
brew install --cask slack
# Workflow & productivity apps
echo "Installing workflow & productivity apps ✨..."
brew install speedtest-cli
brew install thefuck
brew install trash
brew install --cask logseq
brew install --cask hiddenbar
brew install --cask rocket
brew install --cask obs
brew install --cask flycut
brew install --cask spectacle
brew install --cask figma
brew install --cask itsycal
# oh-my-zsh install https://ohmyz.sh
echo "Installing Oh My Zsh 🌈..."
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# Append aliases and theme init script to .zshrc
echo "Configuring terminal πŸ’»..."
echo 'fpath=("$HOMEBREW_PREFIX/share/zsh/site-functions" $fpath)
alias c="clear"
alias iPhone="open ~/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app"
alias fuck="eval $(thefuck --alias)"
alias fk="eval $(thefuck --alias -y)"
alias gitKill="rm -f .git/index.lock"
alias yarnUpgrade="yarn upgrade-interactive"
alias yarnUpgrade:lat="yarn upgrade-interactive --latest"
alias start="foreman start -m all=1,clamd=0,freshclam=0"
alias kx='kubectx'
alias kc='kubectl'
alias kn='kubens'
alias see='k9s'
# Initialize spaceship zsh theme on termnal load
autoload -U promptinit; promptinit
prompt spaceship' >> ~/.zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment