Skip to content

Instantly share code, notes, and snippets.

@aadityataparia
Last active June 21, 2023 09:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aadityataparia/8a073311f349a2ad685b93e8a5fa77ad to your computer and use it in GitHub Desktop.
Save aadityataparia/8a073311f349a2ad685b93e8a5fa77ad to your computer and use it in GitHub Desktop.
Mac (Silicon) initial setup
# Brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew update
# ZSH
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# Add brew to path
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> ~/.zshrc
eval "$(/opt/homebrew/bin/brew shellenv)"
source ~/.zshrc
# Iterm2
brew install --cask iterm2
# Check Git was installed
git
# ZSH plugins
## zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
# kubectl
brew install kubectl
# VS Code
brew install --cask visual-studio-code
# Google Chrome
brew install --cask google-chrome
# Postman
brew install --cask postman
# nvm, node, yarn
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
source ~/.zshrc
nvm install --lts
nvm use --lts
npm install -g yarn
## TODO: manually
# Add zsh-autosuggestions to .zshrc plugins
# Add hotkey for showing/hiding iterm windows
# Add git ssh key to github https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment