Skip to content

Instantly share code, notes, and snippets.

@nicholaslck
Last active October 22, 2022 04:17
Show Gist options
  • Save nicholaslck/051c89a929cd19b9bf10826280e043a2 to your computer and use it in GitHub Desktop.
Save nicholaslck/051c89a929cd19b9bf10826280e043a2 to your computer and use it in GitHub Desktop.

Mac setup scripts

Brew

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

Setup shell

brew install zsh
brew install wget
brew install htop
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Apps install

brew install --cask iterm2
brew install --cask flycut
brew install --cask bartender
brew install --cask rectangle
brew install --cask lunar
brew install --cask 1password
brew install --cask google-chrome
brew install --cask spotify
brew install --cask onedrive
brew install --cask microsoft-office
brew install --cask vlc
brew install --cask gimp

brew install --cask slack
brew install --cask signal
brew install --cask telegram
brew install --cask whatsapp

brew install --cask fork
brew install --cask postman
brew install --cask docker
brew install --cask visual-studio-code
brew install --cask android-studio
brew install --cask xcodes

brew install --cask miniconda
conda init "$(basename "${SHELL}")"

brew install awscli
brew install --cask google-cloud-sdk
echo -e '\nsource "$(brew --prefix)/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc"' >> ${ZDOTDIR:-~}/.zshrc

Manual install

git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
# Set ZSH_THEME="powerlevel10k/powerlevel10k" in ~/.zshrc

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
# Edit .zshrc --> plugins=( [plugins...] zsh-syntax-highlighting)

asdf install

brew install asdf
echo -e "\n. $(brew --prefix asdf)/libexec/asdf.sh" >> ${ZDOTDIR:-~}/.zshrc

brew install gpg
brew install gawk
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git 
asdf install nodejs latest

asdf plugin-add yarn
asdf install yarn latest

Extension

brew install --cask openinterminal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment